Can we use SQL%ISOPEN in implicit cursors? Does this
attribute works properly in Implicit Curosors?
Answer Posted / pr@$@d
Implicit cursors: SQL%ISOPEN always returns FALSE,
indicating that the implicit cursor has been closed.
I hope below example gives you very fair idea.
SQL> BEGIN
2 UPDATE employee
3 SET salary = salary *2
4 WHERE id = '01';
5
6 IF not SQL%ISOPEN THEN
7 DBMS_OUTPUT.PUT_LINE('closed');
8 END IF;
9 END;
10 /
closed
PL/SQL procedure successfully completed.
Thanks
-Pr@$@d
Is This Answer Correct ? | 13 Yes | 6 No |
Post New Answer View All Answers
What is sql and db2?
How to Declare Fixed Length String Value In PL SQL
Is big data nosql?
What is sql integrity?
What is query execution plan in sql?
What are the two types of periodical indexes?
Is sql open source?
Is sql easier than java?
What is sql partition function?
What is a sql schema used for?
Are stored procedures compiled?
What is the largest value that can be stored in a byte data field?
what are rollup and cube in t-sql? : Transact sql
How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?
Can cursors be part of a trigger body?