I know we use cursors to fetch data i.e. SELECT statements in Pro*C..Can we use cursors for delete as well
For instance
EXEC SQL delcare c1 cursor for SELECT col1,col2 from table_name;
EXEC SQL OPEN c1;
EXEC SQL FETCH c1 into :var1,:var2;
How can we use cursor concept for delete statements.
Thanks & Regards
Rohan
For instance
EXEC SQL delcare c1 cursor for SELECT col1,col2 from table_name;
EXEC SQL OPEN c1;
EXEC SQL FETCH c1 into :var1,:var2;
How can we use cursor concept for delete statements.
Thanks & Regards
Rohan