Explain the usage of WHERE CURRENT OF clause in cursors ?

Answer Posted / rahul koshti

By using WHERE CURRENT OF clause you can update or delete
records from the table where CURSOR fetched the records. But
for this you MUST have to open cursor with the clause of
'FOR UPDATE [OF COLUMN_NAME]'.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why cross join is used?

821


How to use distinct and count in sql query? Explain

763


Explain select statements in sql?

756


What is difference between hql and sql?

699


What are analytic functions in sql?

738






Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?

751


What are different types of sql commands?

695


Explain exception handling in pl/sql?

723


When you have to use a default "rollback to" savepoint of plvlog?

908


What are its different types of dbms?

711


What is error ora-01000: maximum open cursors exceeded

783


What is sql keyword?

753


How do you remove duplicate records from a table?

673


how to add a new column to an existing table in mysql? : Sql dba

773


what are all types of user defined functions? : Sql dba

751