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 |
what is the different types of backups available in sql server? : Sql server database administration
What sql server means?
What is the difference between seek predicate and predicate?
Is profiler the only tool that has the ability to audit and identify ddl events? : sql server security
How you can minimize the deadlock situation?
How to link tables in sql server?
How do you persist objects, permissions in tempdb
What is the difference between WHERE AND IN? OR 1. SELECT * FROM EMPLOYEE WHERE EMPID=123 2. SELECT * FROM EMPLOYEE WHERE EMPID IN (123) WHAT IS THE DIFFERENCE?
As a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this?
What is a covering index?
What is plan freezing?
Is it possible to replicate data from sql server to oracle? : sql server replication