oracle游标

Oracle游标的四种属性%ISOPEN,%FOUND,%NOTFOUND,%ROWCOUNT

%ISOPEN:游标是否打开

%FOUND:是否找到游标

%NOTFOUND:是否没有找到游标

%ROWCOUNT:游标行数

 

定义游标:cousor  aaa(arg1 number) is select * from bbb whereid=arg1

打开游标:openaaa(2)

取值:fecth aaainto c

关闭游标:close aaa

你可能感兴趣的:(database)