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 |
how do you implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql server database administration
Do you know what are the differences between lost updates and uncommitted dependencies?
Define DML and DCL statements?
Explain sp_configure commands, set commands?
How many index keys possible for a table
How to get a list of columns in a view using the "sp_columns" stored procedure?
Explain trigger classes i.e. Instead of and after trigger?
How to use old values to define new values in update statements in ms sql server?
write down the sql query? Table Name : emp1 empid empname 1 bala 2 guna Table Name : emp2 empid empname 1 <Null> 2 <Null> Solution : emp1 names are updated in emp2, write a query?
What is the difference between NOROW and LOCKROW?
0 Answers Accenture, Honeywell, Satyam,
Magic Tables ?
What is a trace frag? Where do we use it?
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)