Example of Opening an Insert Cursor
The following example illustrates an OPEN statement with an Insert
cursor:
EXEC SQL prepare s1 from 'insert into manufact values ('npr', 'napier')'; EXEC SQL declare in_curs cursor for s1; EXEC SQL open in_curs; EXEC SQL put in_curs; EXEC SQL close in_curs;