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
Can we linked SharePoint to a SQL database?
What is bit data type?
How can you tell if a database object is invalid?
How to locate and take substrings with charindex() and substring() functions?
How to execute a sql statement using odbc_exec()?
What is the difference between getdate and sysdatetime?
How to get a list of columns using the "sys.columns" view in ms sql server?
What is the difference between drop table and truncate table?
what is the system function to get the current user's user id? : Sql server database administration
What is the difference between Stored Procedures and triggers?
Explain system rowset functions?
What is ems sql management studio? : sql server management studio
What is read committed?
What is a periodical index?
Define normalisation?