What cursor type do you use to retrieve multiple recordsets?

Answers were Sorted based on User's Feedback



What cursor type do you use to retrieve multiple recordsets? ..

Answer / chandrasekar

Explicit cursor

Is This Answer Correct ?    81 Yes 7 No

What cursor type do you use to retrieve multiple recordsets? ..

Answer / sdp

Explicit cursor

Is This Answer Correct ?    43 Yes 1 No

What cursor type do you use to retrieve multiple recordsets? ..

Answer / guest

cursor <<cursorname>> is select * from <<table name>>

Is This Answer Correct ?    55 Yes 16 No

What cursor type do you use to retrieve multiple recordsets? ..

Answer / sri

Im sorry..sys_refcursor. can be used to pass cursors from
and to a stored procedure.

Normally we r using. CURSOR cursor_name IS SELECT...
So this is called explicit cursor.

Is This Answer Correct ?    19 Yes 1 No

What cursor type do you use to retrieve multiple recordsets? ..

Answer / rao

Using REF CURSOR only

Is This Answer Correct ?    20 Yes 6 No

What cursor type do you use to retrieve multiple recordsets? ..

Answer / sri

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

What cursor type do you use to retrieve multiple recordsets? ..

Answer / guest

explicit cursor

Is This Answer Correct ?    12 Yes 3 No

What cursor type do you use to retrieve multiple recordsets? ..

Answer / pintu

It can be used Using REF CURSOR only.

Is This Answer Correct ?    11 Yes 3 No

What cursor type do you use to retrieve multiple recordsets? ..

Answer / vishu

SYS_REFCURSOR

Is This Answer Correct ?    12 Yes 4 No

What cursor type do you use to retrieve multiple recordsets? ..

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

Post New Answer

More SQL PLSQL Interview Questions

How exception handling is done in advance pl/sql?

0 Answers  


How to change a value of the field ‘salary’ as 7500 for an employee_name ‘john’ in a table employee_details?

0 Answers  


what is online transaction processing (oltp)? : Sql dba

0 Answers  


What trigger means?

0 Answers  


What will happen after commit statement ?

2 Answers  






Which sql statement is used to return only different values?

0 Answers  


What is a schema in sql?

1 Answers  


What is a sql select statement?

0 Answers  


What will be the output of this Query? select to_char(trunc(add_months(sysdate-3),mm),mm/dd/yyyy) from dual

6 Answers   Cap Gemini, TCS,


Can i possible to see Table Details ? Ex : Table Name Date Time User Emp May/18/2010 12:59pm Scott

3 Answers  


what is the difference between truncate and delete statement? : Transact sql

0 Answers  


What found sql?

0 Answers  


Categories