Interview Questions

What are cursors? Name four type of cursors and when each one would be applied?

.NET Database ,COM interop,and .NET deployment questions and answers


(Continued from previous question...)

What are cursors? Name four type of cursors and when each one would be applied?

Opening a cursor on a result set allows processing the result set one row at a time.
The four API server cursor types supported by SQL Server are:
a) Static cursors
b) Dynamic cursors
c) Forward-only cursors
d) Keyset-driven cursors

(Continued on next question...)

Other Interview Questions