What cursor type do you use to retrieve multiple recordsets?
Answers were Sorted based on User's Feedback
Answer / guest
cursor <<cursorname>> is select * from <<table name>>
Is This Answer Correct ? | 55 Yes | 16 No |
This ans opt for Oracle DB
---------------------------
SYS_REFCURSOR. this is what we called Explicit cursor.
In database if u run any sql statement by default system
will create a cursor. its called "Implicit cursor".
But in PL/SQL, we r using SYS_REFCURSOR to manupulate the
multiple records. that is called Explicit cursor.
Is This Answer Correct ? | 15 Yes | 5 No |
Answer / venkat
using explict cursor we process multiple rows
syn:
cursor <cur_name> is select * from <tab_name>
Is This Answer Correct ? | 3 Yes | 0 No |
Explain the difference in execution of triggers and stored procedures?
what are numeric data types? : Sql dba
What sql database should I use?
What does rownum mean in sql?
What is the difference between left join and right join?
What is a stored procedure in sql with example?
Can a table contain multiple primary key’s?
what is sql optimization
How to test for null values?
How many types of normalization are there?
What are different types of sql commands?
Name three sql operations that perform a sort.