what is cursor?why we will go to cursor?advantages &disadvantages of cursors?
Answer / ramya gurrala
Cursor is a pointer(in c/java).Cursor work with DML and information can be accessed.
Cursor is required to process each row individually for queries which return multiple rows.
Advantages:1)We can do operations on each row.
2)Response time is good.
3)Cursors are faster than the while loop.
Disadvantages:1)Repeated network round trips.
2)Occupies more resources and temporary storage.
| Is This Answer Correct ? | 1 Yes | 0 No |
Define left outer join?
How to list all triggers in the database with sys.triggers in ms sql server?
you have couple of stored procedures that depend on a table you dropped the table and recreated it what do you have to do to reestablish those stored procedure dependencies?
Define ACID properties in a Database?
what r steps to we need to fallow b4 kill the process?
What is a function? Give some example?
Which index created when Create Index on table(col), Why
Explain different types of lock modes in sql server 2000?
Explain basic SQL queries with SELECT from where Order By, Group By-Having?
What is an index. What are the types?
What are the differences between UNION and JOINS?
3 Answers CarrizalSoft Technologies,
Explain some DBCC commands?
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)