How many types of Cursor in SQL SERVER?
Answer / anindya basu
There are four types of cursor in SQL Server which are:
a. Static
b. Dynamic
c. Forward Only, and
d. Keyset
Static keysets aren't sensitive to database changes and are scrollable.
Dynamic keysets are sensitive to database changes and are scrollable.
Forward only keysets aren't sensitive to database changes and allows only forward scrolling of data. There are 3 variants of Forward Only cursors viz. Forward Only Static, Forward Only Keyset, and Fast Forward. Fast Forward is the fastest of all cursors.
Keyset cursor supports movement from the first row to the last and vice-versa. It doesn't identify inserts but recognizes both updates and deletes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is sql server agent and what are the two modes of authentication in sql server?
What meant by Performance Tuning,how can we do the performance tuning on stored procedures and tell some steps to do the performance tuning
Explain DBMS, RDBMS?
Can we call SP inside a query?
5 Answers CA, CarrizalSoft Technologies, Wipro,
What is difference between standardization and normalization?
What is the diffrence between update_one and auto_fix?
Selet all the data from table where last name is n of employee
What are the properties of the transactions?
what's the difference between SQL & MY-SQl...? And what we learn from these ....?
If the job running very slow what is the action you do
How to handle errors in Stored Procedures.
How to write a script for upate the data in prod , i have 50000 row are there
Oracle (3259)
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)