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 |
Store procedure will return a value?
How will you a activate/deactivate integrity constraints?
what is the use of HASH, LIST partitions?
What is sql and also describe types of sql statements?
explain access control lists. : Sql dba
How do you write an inner join query?
Mention what is the function that is used to transfer a pl/sql table log to a database table?
Two Methods of retrieving SQL?
7 Answers Atiric Software, Microsoft, Oracle, TCS, Wipro,
What is the use of partition by in sql?
How do I write a cron which will run a sql query and mail the results to agroup?
What are system versioned tables?
How global cursor can be declare with dynamic trigger ?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)