Explain uses of cursor.
Answer / shwetha k
A cursor is a pointer to pointing to this memory area and used to retrieve data row by row instead of all row at a time.
select statement fetches only one row.so to overcome this problem cursor is used to hold the set of rows or data in one variable and can do whatever manipulation we want to do.
| Is This Answer Correct ? | 0 Yes | 0 No |
How would you reference column values before and after you have inserted and deleted triggers?
What is the use of nvl function?
What are Global Temporary tables
Which type of cursor is used to execute the dml statement?
How do you update a value in sql?
Which one is better subquery or joins?
----> There is a table T with two columns C1 and C2. The data is as below: C1 C2 1 4 2 5 3 6
what is datawarehouse? : Sql dba
How do I count rows in sql?
What is pessimistic concurrency control? : Transact sql
How do I view a sql database?
When can we use the where clause and the having clause?
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)