How many types of cursors are there in SQL Server?
Answer Posted / santosh kumar sharma
There are 4 types of cursor.
1) Static: Cursor can move to any record but the changes on
the data can't be seen.
2) Dynamic: Most resource extensive. Cursor can move
anywhere and all the changes on the data can be viewed.
3) forward-only: Cursor moves one step forward. Can't move
backwards.
4) Key setdriven: Only Updated data can be viewed. Deleted
and Inserted data cannot be viewed.
Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
What are the differences between user defined functions and stored procedures?
What is the difference between a view and a stored procedure?
What is sqlcmd?
How do I install sql server?
What is collation sensitivity?
What are the tables in sql?
Define inner join? Explain with an example?
How to delete multiple rows with one delete statement in ms sql server?
How to set database to be read_only in ms sql server?
What gets stored inside msdb database?
If no size is defined while creating the database, what size will the database have?
How can a user-defined datatype be created?
What is tempdb in sql server?
What is the difference between for auto and for nested?
Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.