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 the difference between truncate and drop statements?

0 Answers  


What is the use of prepared statement?

0 Answers  


What is nvarchar in sql?

0 Answers  


is it possible to pass an object or table to a procedure as an argument?

0 Answers  


What language is oracle sql developer?

0 Answers  






What is anonymous block in sql?

0 Answers  


Why cross join is used?

0 Answers  


What does <> sql mean?

0 Answers  


What are the features of pl sql?

0 Answers  


what is the use of double ampersand (&&) in sql queries?

0 Answers  


How to display the current date in sql?

0 Answers  


What does the acronym acid stand for in database management?

0 Answers  


Categories