1.

SQL Server static cursors are always ___________(a) Read-only(b) Write-only(c) Read, Write(d) None of the mentionedThis question was addressed to me during a job interview.The doubt is from Cursor in chapter Developing with SQL Server of SQL Server

Answer»

The CORRECT option is (a) Read-only

Best EXPLANATION: A static CURSOR populates the RESULT set at the time of cursor creation and query result is CACHED for the lifetime of the cursor.



Discussion

No Comment Found

Related InterviewSolutions