Explain the usage of WHERE CURRENT OF clause in cursors ?

Answer Posted / vipul varshney

It allows to apply updates and deletes to the row currently
being addressed, without the need to explicitly reference
the ROWID.
You must include the FOR UPDATE clause in the cursor query
so that the rows are locked on OPEN.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write an sql query to select all records from the table?

551


What is flag in sql?

531


Is a view faster than a stored procedure?

538


What does (*) mean in sql?

521


What is trigger types of trigger?

545






Why partition by is used in sql?

548


Is sql a backend?

539


What is scalar data type in pl sql?

544


how do you control the max size of a heap table? : Sql dba

530


What makes a good primary key?

513


How to connect a sql*plus session to an oracle server?

612


How can the performance of a trigger be improved?

586


Does pl sql work in mysql?

524


Can dml statements be used in pl/sql?

567


Is a secondary key the same as a foreign key?

485