| When you write code for a transaction that retrieves a single row of
results, you can use a SELECT INTO statement. This is called a singleton
SELECT statement.
When you write code for a transaction where the result set includes several rows of data, you must declare and use a cursor. A cursor is a mechanism you can use to fetch rows one at a time. |
The four API server cursor types supported by SQL Server are:
|