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
Do you know the cursor types?
List layers of abstraction microsoft architectured to provide relational db through cloud platform ?
Can we write trigger for view?
What are the Advantages of using CTE in sql server?
What is the difference between substr and charindex in the sql server?
Explain filtered indexes benefits?
What are the key configuration files for sql server reporting services ?
Do you know what is a trace frag? Where do we use it?
What are different types of statement?
Explain full-text query in sql server?
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?
How many triggers you can have on a table?
Why de-normalization required?
Can we call stored procedure in trigger?
What happens if null values are involved in bitwise operations?