What is the difference between deallocate cursor and close cursor?
Answer / Amresh Kumar Singh
In SQL Server, a DEALLOCATE CURSOR explicitly releases resources associated with a cursor, while a CLOSE CURSOR only closes the cursor without releasing any associated resources. It's essential to use DEALLOCATE to free up memory once you no longer need the cursor.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain transaction server explicit transaction?
List all the types of user-defined functions?
What is an execution plan?
Can you force a query to use a specific index?
Explain for xml explicit mode?
Is it possible to create trigger on views?
What is factless fact table? : sql server analysis services, ssas
What is difference between aggregate and analytic function?
Tell me about builtinadministrator?
is it important for a database administrator to understand the operating system and file access? : Sql server administration
What is data source document?
What is an example of a foreign key?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)