Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How many types of Cursor in SQL SERVER?

Answer Posted / anindya basu

There are four types of cursor in SQL Server which are:

a. Static
b. Dynamic
c. Forward Only, and
d. Keyset
Static keysets aren't sensitive to database changes and are scrollable.
Dynamic keysets are sensitive to database changes and are scrollable.
Forward only keysets aren't sensitive to database changes and allows only forward scrolling of data. There are 3 variants of Forward Only cursors viz. Forward Only Static, Forward Only Keyset, and Fast Forward. Fast Forward is the fastest of all cursors.
Keyset cursor supports movement from the first row to the last and vice-versa. It doesn't identify inserts but recognizes both updates and deletes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is denormalization? : Sql server database administration

927


explain different types of cursors? : Sql server database administration

1090


When I delete any data from a table, does the sql server reduce the size of that table?

1019


What the class forname () does?

1065


Explain view in sql server?

1056


Which tcp/ip port does sql server run on? How can it be changed?

1042


Can a trigger be created on a view?

956


what is a live lock? : Sql server database administration

956


What are the differences between having and where clause.

966


What are the joins in sql server? : sql server database administration

1009


How would you use user_constraints table in DB?

1008


Do you know query execution plan?

1179


Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.

1036


Where does the copy job runs in the log shipping primary or secondary? : sql server database administration

1044


Tell me about builtinadministrator?

1001