Explain the types of cursors in SQL server:

Aditya Patel

Total Post:11

Points:55

Posted by  Aditya Patel
 162  View(s)
Ratings:
Rate this:
  1. Explain the types of cursors in SQL server:

    Types of cursors :

    The Static Cursor – Makes a temporary copy of the data and stores in tempdb and any modifications on the base table do not reflected in data returned by fetches made by the cursor.

    The Dynamic Cursor – Reflects all changes in the base table.

    The Forward-only Cursor – specifies that cursor can only fetch sequentially from first to last.

    The Keyset-driven – A Keyset is the set of keys that uniquely identifies a row is built in a tempdb.

Answer