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 is sql constant?

0 Answers  


what is data integrity? : Sql dba

0 Answers  


What is a string data type in sql?

0 Answers  


Explain Connect by Prior?

2 Answers  


When to use inner join and left join?

0 Answers  






My select statement is not working as expected, So, to overcome from such issues what are the steps needed to be taken care?

2 Answers   CG,


Where the integrity constrints are stored in Data Dictionary?

1 Answers  


What is the most important ddl statements in sql are?

0 Answers  


Explain how procedures and functions are called in a PL/SQL block ?

3 Answers  


How do you truncate?

0 Answers  


How do you get all records from 2 tables. Which join do you use?

8 Answers   Microsoft,


Why do we use set serveroutput on?

0 Answers  


Categories