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 a behavioral trigger?

0 Answers  


What are the types of sql commands?

0 Answers  


What is java sql connection?

0 Answers  


What is sap sql?

0 Answers  


Is left join faster than inner join?

0 Answers  






What is varchar sql?

0 Answers  


Explain the insert into statements in sql?

0 Answers  


I have a table with 1 million records out of which 10,000 records are of unique records, then if I will implement index, then which type of index shall I use and why shall I use?

2 Answers   HSBC,


what is the difference between blob and text? : Sql dba

0 Answers  


How will you delete a particular row from a Table?

7 Answers   Cap Gemini,


What is Histogram?

0 Answers   NIIT,


What are pl sql data types?

0 Answers  


Categories