Can we use SQL%ISOPEN in implicit cursors? Does this
attribute works properly in Implicit Curosors?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / pradeep naidu manne tcs
IMPLICIT CURSORS ARE OPENED N CLOSED IMPLICITLY SO SQL%FOUND WILL ALWAYS EVALUATES FALSE
| Is This Answer Correct ? | 4 Yes | 0 No |
What is the maximum number of columns in sql table?
How many clustered indexes can you have?
what are the different tables present in mysql? : Sql dba
what is top in tsql? : Transact sql
How to execute a stored procedure?
What will be the output for the below Query Select 'High' from dual where null = null;
if we give update table_name set column_name= default. what will happen?
Is left join inner or outer?
wht is the difference between truncat,drop in sqlserver wht is the difference between function and stored procedure
If we declare constraints Unique and Not null on a single column then it will act as a Primary key, so what is the use of primary key??
What is microsoft t sql?
What is the difference between pl and sql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)