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
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
Is sql pronounced sequel or sql?
What is sql dialect?
How do I view a procedure in sql?
Which command is used to delete a package?
How to pipe multiline string to isql?
Describe types of sql statements?
Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.
When should I use nosql database?
How can check sql version from command line?
Is a view faster than a stored procedure?
What are the 3 modes of parameter?
What does partition by mean in sql?
What is the difference between sql and mysql?
what is the difference between sql and t-sql? : Transact sql