I have the Following Statement and need to create an update.
Select p.POS_NR, p1.VON_POS_NR
FROM table1 p. inner join table2 p1
ON p.Bestell_NR = p1.Vorgangs_NR
and p.Bestell_pos = p1.Vorgangs_pos
where NOT (p.POS_NR = p1.Von_Pos_NR)
Now I want to equal p.POS_NR and p1.Von_POS_NR, but I don't know how to create the update
I hope someone can help me