When do you think a developer should use sql server-based cursors?
Answer / Adesh Kumar Singh
A developer should use SQL Server-based cursors when the logic requires iterating through each row of a result set and performing specific actions on each row, such as updating or deleting records based on complex conditions that can't be handled with JOINs or SET operations.
| Is This Answer Correct ? | 0 Yes | 0 No |
please tell me the query to get details of the employee having the second largest salary
What is the difference between MVC and Teir Architecher? Plz explain with Layyered Programming example...? Thanks
from the table display the 2nd highest salary? and also the least 2nd salay?
What is the difference between varchar and nvarchar?
How to avoid cursors?
3 Answers CarrizalSoft Technologies, HP,
What is difference between drop truncate and delete?
When multiple after triggers are attached to sql table, how to control the order of execution?
Hi SQL gurus, i am working for an MNC... My team is having a problem in sql server. when user slects date prompts from jan 1st to april 30, it should display all months data like : jan aa feb bb mar cc but when it comes to april its taking data like : jan aa feb bb mar cc apr dd...and so on means its taking data again from jan to april which we dont want. we want the data only april month as we are getting jan, feb and mar... can any one write the code to relsove the issue please would be greatful if you can send to shiva_sans@yahoo.co.in and also please send your email also ...so that we will be in touch for any kind of queries ... Thanks a lot in Advance !!!
Can a table be moved to different filegroup?
How do you trace the traffic hitting a sql server?
What is 'write-ahead log' in sql server 2000 ?
How do I run sql server 2014?
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)