因为必须使用游标来访问数据空间中的数据,MI层提供打开游标(OPEN CURSOR)和关闭游标(CLOSE CURSOR)的指令,这两条激活和释放游标的MI层命令与OS/400上打开文件和关闭文件的命令是类似的。
基于62个网页-相关网页
Close the Cursor 关闭游标
For a cursor this is the elapsed time between open and close.
对于游标,这就是打开和关闭游标之间所经过的时间。
A holdable cursor, or result, is one that does not automatically close when the transaction that contains the cursor is committed.
一个可保持的游标(或结果),就是说该游标在包含它的事务被提交后,也不会自动地关闭。
Unless you require the cursor after the transaction, it is best to close the cursor when the commit operation is carried out.
除非您在事务结束后还需要该游标,否则您最好在执行提交操作后将其关闭。
应用推荐