How many types of cursors are there in SQL Server?
Answer Posted / vikash kumar mishra
There are five type of cursors in SQL server.
1)Base table:- This is lowest level cursor.
2)Static :- This is scrollable query cursor in earlier
versions of SQL Server Compact Edition
3)Forward-only:- The forward-only cursor is the fastest
cursor that you can update, but it does not support
scrolling.
4)Forward-only/Read-only:- Forward-only/read-only cursors,
referred to as forward-only cursors in earlier versions of
SQL Server Compact Edition, are the fastest cursors, but
cannot be updated.
5)Keyset-driven:- The keyset-driven cursor in SQL Server
Compact Edition is a scrollable cursor that you can update.
A keyset-driven cursor is controlled by a set of physical
identifiers known as the keyset.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
Some queries related to SQL
How can we determine what objects a user-defined function depends upon?
What do you mean by data integrity?
How to connect Azure federated root database and apply federation in entity framework?
How to send email from database?
What is the cartesian product of the table?
What are the dis_advantages of stored procedures, triggers, indexes?
How can sql server instances be hidden?
Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?
What is the difference between grant and with grant while giving permissions to the user?
Explain steps of normalization?
What is a deadlock and what is a live lock?
How to trouble shoot if unable to connect SQL Server
explain databases and sql server databases architecture? : Sql server database administration
What do you mean by stored techniques? How would we use it?