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


Please Help Members By Posting Answers For Below Questions

Is natural join and inner join same?

485


How to place comments in pl/sql?

599


Describe types of sql statements?

543


How do you pronounce sql?

542


Why procedure is used in sql?

527






Where is pl sql used?

512


What is natural join in sql?

532


How do I copy a table in sql?

515


What has stored procedures in sql and how we can use it?

561


Can there be more than one function with a similar name in a pl/sql block?

539


What is type and rowtype in pl sql?

532


which operator is used in query for pattern matching? : Sql dba

541


What does inner join mean?

550


What is sql not null constraint?

594


Define SQL and state the differences between SQL and other conventional programming Languages?

677