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 is oltp (online transaction processing)?
What do you mean by acid?
What are the advantages of using a stored procedure?
What is the difference between left and right outer join?
how can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role? : Sql server administration
Why olap is used?
What does executeupdate return?
Write a SQL query to delete a table?
Is INSTEAD OF trigger directly applicable to Table ?
Write the queries for commands like Create Table, Delete table, Drop Table etc.
what is new philosophy for database devises for sql server 7.0? : Sql server database administration
List the various tools available for performance tuning?
Does sql server 2016 have ssms?
What is the recovery model?
How many null values we can have in a unique key field in sql server?