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 are the different set operators available in sql?
How do you optimize a stored procedure in sql?
what is the difference between nested subquery and correlated subquery?
What are different types of joins ?
I m giving Source, Destination and Age. Write a procedure or function, it will give to u this source to destination tickets are available or not, if available then check this person is senior citizen or not,if this person is senior citizen then give some discount. PLZ give this answer...... Thanks advance.....
What is different between union and minus?
What are sql built in functions?
what is oracle sql,pl/sql with interfaces
Is left join and outer join same?
what is difference between procedure and function, procedure and trigger?
Explain the difference between triggers and constraints?
What is sql comments?
Oracle (3253)
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)