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 are its different types of dbms?
What is the difference between sql and isql*plus?
What are the two types of periodical indexes?
What is column?
what are the authentication modes in sql server? How can it be changed? : Sql dba
Why truncate is used in sql?
what is the difference between inner and outer join? Explain with example. : Sql dba
What is synonyms?
When can we use the where clause and the having clause?
what are the type of locks ? : Sql dba
what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba
What is %type in pl sql?
What are all ddl commands?
How to write a single statement that concatenates the words ?hello? And ?world? And assign it in a variable named greeting?
What is the file extension for sql database?