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 basic structure of pl sql?
How do you optimize a stored procedure in sql?
What is the difference between clustered and non-clustered index in sql?
How does stored procedure reduce network traffic?
What is example of database?
What is latest version of sql?
What is interval partition?
Differentiate between syntax and runtime errors.
how to convert dates to character strings? : Sql dba
What is procedure explain with program?
What is compiled query?
Explain the order of sql statement execution?
What does data normalization mean?
Why use subqueries instead of joins?
What is program debugging?