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
table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
What are the types of records?
How run sql*plus commands that are stored in a local file?
How do I truncate a word?
What is t sql in sql server?
what are the types of join and explain each? : Sql dba
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
What does over partition by mean in sql?
How do you write an index?
what is 'mysqlshow'? : Sql dba
How to Execute a Package in PL/SQL.?
what is the different between now() and current_date()? : Sql dba
Define union, minus, union all, intersect ?
What is the purpose of normalization?
difference between anonymous blocks and sub-programs.