Explain the usage of WHERE CURRENT OF clause in cursors ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What is trigger in sql? Explain
What is %s in sql?
explain the delete statements in sql
What is difference between hql and sql?
what are the properties and different types of sub-queries? : Sql dba
I need a function for a train ticket reservation please answer it thanks in advance
How can triggers be used for the table auditing?
Which command is used to delete a package?
Write the command to remove all players named sachin from the players table.
What is a trigger ?
11 Answers Accenture, BirlaSoft,
What is the differnce between view and materialized view
What is sql*loader and what is it used for?