Explain the usage of WHERE CURRENT OF clause in cursors ?
Answers were Sorted based on User's Feedback
Answer / madhuri
WHERE CURRENT OF clause is used to update the current row of
the active set of a cursor
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / swapna
WHERE CURRENT OF clause in an UPDATE,DELETE statement
refers to the latest row fetched from a cursor.
Is This Answer Correct ? | 10 Yes | 2 No |
Answer / 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 |
How to get employee name from employee table which is the fiveth highest salary of the table
How do I order by ascending in sql?
What is sql partition function?
What are the types of functions in sql?
Does google use sql?
Name the different types of indexes in sql and define them.
why we go for package? what are the advantages of using instead of seperate procuderes or functions
what are the tunnig tables you used for tuning a query and tell me some of coloumns in that tuning tables?
Does pl/sql support create command?
which will fire first ? Trigger or Constraint
24 Answers i2, IBM,
What are the types of views in sql?
what is row? : Sql dba