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

Can we use ddl statements in stored procedure sql server?

721


how does a local variable is defined using t-sql? : Transact sql

730


what are the types of subquery? : Sql dba

768


Differentiate between % rowtype and type record.

923


How to display Row Number with Records in Oracle SQL Plus?

771






What is a field in a database?

760


What is left join in postgresql?

745


Can we join 3 tables in sql?

705


How do I delete a trigger?

723


what is rdbms? : Sql dba

758


Can you load data into multiple tables at once? : aql loader

800


What does partition by mean in sql?

688


Why trigger is used in sql?

690


How do you create a unique index?

775


What is a memo field?

698