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 is data mart? : sql server analysis services, ssas

803


How can you insert null values in a column while inserting the data?

921


What are secondary xml indexes?

782


wat wil hapn if we give the both read and deny read permission to user?

1858


How to find the source of a table in sql server?

707






how to take backup bcp out for a column in table in sql server?

1828


What is a constant or literal in ms sql server?

784


What are the different authentication modes in sql server? How can it be changed?

772


What is the concept of optimization?

774


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

859


What is the purpose of floor function?

747


Explain how would you store your query in an SSRS report or a Database server?

102


Which operator do you use to return all of the rows from one query except rows are returned in a second query?

759


Is sql different from sql server?

688


Explain active/passive and active/active cluster configurations?

796