Explain the disadvantages of cursors?
Answer / Sokesh
Cursors in SQL Server have several disadvantages, including:
1. Performance issues: Cursors can significantly decrease performance due to repeated reads and writes.
2. Increased resource consumption: Cursors require more memory and CPU resources compared to set-based operations.
3. Error handling: Handling errors within cursors can be complex and error-prone.
4. Scalability issues: Cursors are not suitable for large datasets and may cause scalability problems.
| Is This Answer Correct ? | 0 Yes | 0 No |
what's sql server? : Sql server database administration
How to get the count of distinct records. Please give me the query?
What are different types of views?
What is a Stored Procedure?
What are the different types of backups that exist?
How to select true false based on column value in sql server?
write an SQL query to list the employees who joined in the month of January?
What are the joins in sql server? : sql server database administration
How network traffic be reduced by using the stored procedure?
What are logical/boolean operations in ms sql server?
What is 4nf in normalization form?
what is an index? : Sql server database administration
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)