Show the cursor attributes of pl/sql.



Show the cursor attributes of pl/sql...

Answer / Rishish Singh Gautam

In PL/SQL, a cursor is a dynamic or static server-side collection of rows from a database table or view that are accessed sequentially. The following are the attributes of a cursor in PL/SQL:nn1. %ISOPEN - Returns TRUE if the cursor is open and FALSE otherwise.n2. %NOTFOUND - Returns TRUE when there are no more rows to fetch from the cursor, and FALSE otherwise.n3. %ROWCOUNT - Returns the number of rows processed by the last DELETE, INSERT or UPDATE statement executed through the cursor.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

Explain select statements in sql?

1 Answers  


What is a behavioral trigger?

1 Answers  


How to write a procedure for displying the data in a TREE or (PARENT and CHILD ) relationship , for ex: A is the main project id, for this project B,C,D are sub tasks(sub project id's) for B the sub tasks are e,f,g and for c is h ,i ,j and for d is k,l,m now i need to display the o/p in a TREE fashion pls help me , thanks in advance surendra

2 Answers   Zensar,


Hi Everyone, How to get fist and last record from a table in oracle? Thanks in advance

13 Answers   IBM,


What does “select count(1) from tab” result?

10 Answers   IBM,


a. Can you delete data from a View. b. If Yes, can you delete it if there are multiple tables c. If No, can you delete if there is single source table which is joining.

4 Answers   CGI, IBM,


explain the advantages and disadvantages of stored procedure? : Sql dba

1 Answers  


what is data integrity? : Sql dba

1 Answers  


Tell me what a package consists of.

3 Answers  


How do I tune a sql query?

1 Answers  


What has stored procedures in sql?

1 Answers  


What is a trigger ?

11 Answers   Accenture, BirlaSoft,


Categories