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

Inline the values in PL/SQL, what does it mean.?

633


What is the purpose of a sql?

530


What are sql procedures?

584


where are cookies actually stored on the hard disk? : Sql dba

582


What is materialized view. What are different methods of refresh?

783






What is latest version of sql?

527


What is server name sql?

594


Does sql*plus have a pl/sql engine?

572


Write a unique difference between a function and a stored procedure.

533


Is inner join same as self join?

583


What are the basic techniques of indexing?

577


How to rename a column in the output of sql query?

539


How do I write a sql query in pgadmin 4?

558


how to drop an existing view in mysql? : Sql dba

570


mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql

565