Advantages and Disadvantages of Cursor?

Answer Posted / krishna sandeep

Advantage:

you can do row vise validation from a table

Disadvantage:

of example you are retrieving 100 row...
every single row you retrieve will hit the server as a
single select query so performance will be low.

Is This Answer Correct ?    122 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are ddl (data definition language) statements for tables in ms sql server?

534


Working with TLogs

1438


What is the difference between truncate and delete commands?

557


What is the optimal disk configuration for a database server and what raid configurations would you use if budget is not a constraint?

475


Explain what you mean by 3 tier architecture.

619






How to delete existing rows in a table?

578


What is merge join?

565


What is the purpose of the master database?

600


How to loop through result set objects using mssql_fetch_array()?

537


What is the purpose of grouping data in a report?

529


What is openrowset sql server?

511


What is amo? : sql server analysis services, ssas

658


What is the difference between for auto and for nested?

498


How to restore performance issues and how to check?

1513


do views contain data ?

574