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

How to add a column ‘salary’ to a table employee_details?

0 Answers  


Are dml statements autocommit?

0 Answers  


in table there r so many rows write a query which two rows r updated last two day befor?

3 Answers   Exilant,


What is mutating table error?

0 Answers  


What are few of the schema objects that are created using PL/SQL?

0 Answers  






Is like operator in sql case sensitive?

0 Answers  


How does a trigger work?

0 Answers  


What is difference between nchar and nvarchar?

0 Answers  


Are sql database names case sensitive?

0 Answers  


In a package if we have 10 procedures or functions,How to know which will execute first?

1 Answers   Sollet Soft,


How do I find duplicates in sql?

0 Answers  


what is a trigger? : Sql dba

0 Answers  


Categories