What is a cursor in SQL Server 2000 and their types?

Answer Posted / lekhraj deshmukh

Cursor:-Cursor is used for fetching the ror by row data from
tables.
Note:-Cursor is the only datatypa that can not be used in
table creation.
When will be use cursor need to perform following steps:-
1)decalere a cursor
2) open a cursor
3)fetch the cursor
4)close the cursor
5)deallocate the cursor
Types of cursor:-
1)API cursor
2)client cursor
3)sql server cursor

Is This Answer Correct ?    9 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the authentication modes in sql server?

502


Do you know what is xpath?

559


What is page in sql server?

517


You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?

590


What is transact-sql ddl trigger?

638






How can a user-defined datatype be created?

544


how can u get last observation in an unknown dataset ?

2003


Why variables called the most powerful component of ssis?

595


What are the approximate numeric data types?

533


What is de-normalization and what are some of the examples of it?

539


Explain in brief how sql server enhances scalability of the database system?

481


you have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem? : Sql server administration

533


What is catalog views?

609


what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

520


What is RAID? What are the different types of RAID configurations?

618