标签: oracle10g cursor
Cursor有四个属性,如
%rowcount
%found
%notfound
%open
为什么我们将SQL加到隐式游标的属性前面? 例如:
DBMS_OUTPUT.PUT_LINE(SQL%ROWCOUNT || 'row(s) deleted');
答案 0 :(得分:3)
THE_IMPLICIT_CURSOR_FOR_THE_LAST_SQL_STATEMENT_EXECUTED%ROWCOUNT