Explain the usage of WHERE CURRENT OF clause in cursors ?

Answers were Sorted based on User's Feedback



Explain the usage of WHERE CURRENT OF clause in cursors ?..

Answer / tulsi

WHERE CURRENT OF clause in an UPDATE,DELETE statement
refers to the latest row fetched from a cursor.

Is This Answer Correct ?    19 Yes 2 No

Explain the usage of WHERE CURRENT OF clause in cursors ?..

Answer / 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

Explain the usage of WHERE CURRENT OF clause in cursors ?..

Answer / nishi

WHERE CURRENT OF clause in an UPDATE,DELETE statement refers to the latest row fetched from a cursor. Database Triggers

Is This Answer Correct ?    2 Yes 0 No

Explain the usage of WHERE CURRENT OF clause in cursors ?..

Answer / amar_kondla

wherecurrent of clause means which is currently being modify
by the view,where not on dml

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

What is trigger in sql? Explain

0 Answers  


What is %s in sql?

0 Answers  


explain the delete statements in sql

0 Answers  


What is difference between hql and sql?

0 Answers  


what are the properties and different types of sub-queries? : Sql dba

0 Answers  


I need a function for a train ticket reservation please answer it thanks in advance

0 Answers  


How can triggers be used for the table auditing?

0 Answers  


Which command is used to delete a package?

0 Answers  


Write the command to remove all players named sachin from the players table.

0 Answers  


What is a trigger ?

11 Answers   Accenture, BirlaSoft,


What is the differnce between view and materialized view

4 Answers   TCS,


What is sql*loader and what is it used for?

0 Answers  


Categories