I have my tables as below.
Now I want to find mismatch records from these tables. For that I did my code like this, but it is not working.
How can I do this?
Thank you
Code:
_U1
nStylecode cLotName Delvr_Pcs
123 A1 100
456 COMR 750
785 A2 452
Code:
U2
nStylecode cLotName Delvr_Pcs
123 A1 105
456 COMR 750
785 A2 450
Now I want to find mismatch records from these tables. For that I did my code like this, but it is not working.
Code:
SELECT * FROM _U1 WHERE _U1.nStylecode=U2.nStylecode AND _U1.cLotName=U2.cLotName AND _U1.Delvr_Pcs<>U2.Delvr_Pcs INTO CURSOR _DELQTY
How can I do this?
Thank you