I want to execute several sql commands after each other.
but executing this part I get an error:
[Microsoft][ODBC SQL Server Driver]Function sequence error"
I don't know much about sql but can somebody help me with this problem ?
Code:
UPDATE CLIENTS SET CLIENTS.XDEPTID = 1085, CLIENTS.XDEPTNR = 88513, CLIENTS.POB = 921
WHERE (((CLIENTS.XDEPTID)=921) AND ((CLIENTS.XDEL) Is Null Or (CLIENTS.XDEL)='N'));
UPDATE CLIENTS SET CLIENTS.XDEPTID = 1086, CLIENTS.XDEPTNR = 88520, CLIENTS.POB = 894
WHERE (((CLIENTS.XDEPTID)=894) AND ((CLIENTS.XDEL) Is Null Or (CLIENTS.XDEL)='N'));
but executing this part I get an error:
[Microsoft][ODBC SQL Server Driver]Function sequence error"
I don't know much about sql but can somebody help me with this problem ?