Advantages and Disadvantages of Cursor?

Answer Posted / hiral bhatt

Dear All,

Cursor, its an object in SQL Server and the main advantages
of cursor is that whenevr we need to fetch records in row
by row Manner..

But using cursor, it itself is not a good concept, we have
another alternate for cursor like Temp Table.

Regards
Hiral Bhatt
Sr. Software Engg.

Is This Answer Correct ?    43 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about local stored procedure?

600


How to get a list of all tables with "sys.tables" view in ms sql server?

670


What are sub reports and how to create them?

103


What is relationship? What number of sorts of relationship are there?

718


What is the difference between set and select?

659






What is reportserver and reportservertempdb ?

116


Tell about MOM Tool(Microsoft Operator Manager)?

1499


How to Check if table exists in sql server?

694


What are the differences between lost updates and uncommitted dependencies?

624


What is left outer join in sql server joins?

628


What is system stored procedures?

666


how would you troubleshoot blocking? : Sql server database administration

621


what are the types of indexes? : Sql server database administration

671


What are the High-Availability solutions in SQL Server and differentiate them briefly?

797


What is difference between view and materialized view?

611