what is a cursor

Answer Posted / nageswara rao

cursor acts as datatype for holding composite
variable.composite variable hold more than one value at a
time.

when ever u declare a cursor it tells to sqlserver that
memory is create for that cursor
whenever u open the cursor it executes select statement in
declare section and reserves memory stored the result of
execution in this memory.and reserves pointer to the before
first

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does count (*) do in sql?

526


Can a procedure in a package be overloaded?

546


What does where 1 1 mean in sql?

543


Can we commit inside a trigger?

547


What is the largest value that can be stored in a byte data field?

518






What is cursor in pl sql with examples?

481


How many disk partitions should I have?

551


What is db journal file?

518


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

551


What is identity column in sql server?

527


How to run pl/sql statements in sql*plus?

591


What are crud methods?

551


What are the parameter modes supported by pl/sql?

532


Which is better trigger or stored procedure?

500


Does oracle roll back the transaction on an error?

531