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 are analytic functions in sql?

536


What are the types of operators available in sql?

540


Enlist some predefined exceptions?

568


what is a trigger? : Sql dba

564


What is the maximum number of columns in sql table?

537






what are date and time functions in mysql? : Sql dba

524


how to use regular expression in pattern match conditions? : Sql dba

512


Do foreign keys improve performance?

534


Is left join inner or outer by default?

515


Is sql better than excel?

507


Can we use join in subquery?

557


Which is better join or subquery?

596


What is recursive stored procedure?

587


What are all ddl commands?

532


What does the base_object_type column shows in the user.triggers data dictionary view?

562