DB2中使用游标的注意事项

1. commit和rollback操作会让游标close掉,除非open的时候使用hold方式打开和使用游标

2. close掉cursor之后不用free cursor,但是close allcator之后要记得free allocator

你可能感兴趣的:(db2,Cursor)