INSERT/DELETE on cursor can modify only one table

Item Value
SQLCODE -199
Constant SQLE_ONLY_ONE_TABLE
SQLSTATE 09W04
Sybase error code 102
ODBC 2 State 37000
ODBC 3 State 42000

Probable cause 

You attempted to insert into a cursor and have specified values for more than one table; or you attempted to delete from a cursor that involves a join. Insert into one table at a time. For DELETE, use the FROM clause to specify which table you wish to delete from.