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 / 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

Explain the usage of WHERE CURRENT OF clause in cursors ?..

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

Explain the usage of WHERE CURRENT OF clause in cursors ?..

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

Post New Answer

More SQL PLSQL Interview Questions

what are date and time data types? : Sql dba

0 Answers  


What are analytic functions in sql?

0 Answers  


Is pl sql still used?

0 Answers  


What is the maximum number of triggers, you can apply on a single table?

0 Answers  


What is the sql query to display the current date?

0 Answers  






What are field types?

0 Answers  


Whate is use of MOD function in pl/sql.

3 Answers   Oracle,


write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba

0 Answers  


Define commit?

0 Answers  


When the mutating error will comes? and how it will be resolved?

2 Answers  


What are different types of joins ?

5 Answers   BirlaSoft,


write a qurey for finding the length of the sting.

6 Answers   Infosys, TCS,


Categories