Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Advantages and Disadvantages of Cursor?

Answer Posted / sarat

Cursors allow row-by-row processing of the resultsets.

Disadvantages of cursors: Each time you fetch a row from the
cursor, it results in a network roundtrip, where as a normal
SELECT query makes only one rowundtrip, however large the
resultset is. Cursors are also costly because they require
more resources and temporary storage (results in more IO
operations). Further, there are restrictions on the SELECT
statements that can be used with some types of cursors.

Most of the times, set based operations can be used instead
of cursors.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between stored procedure and the dynamic sql?

1025


how can u get last observation in an unknown dataset ?

2387


What are secondary xml indexes?

983


Explain about service Broker functions?

978


 Explain what is sql override for a source taLle in a mapping?

944


How to loop through the result set with @@fetch_status?

1250


How to use subqueries with the exists operators in ms sql server?

1057


Define right outer join?

930


Difference between Logical Page and Physical Page in SSRS.

459


Explain a differential backup?

947


What is SQL Azure Data sync?

119


How do we know if any query is retrieving a large amount of data or very little data?

919


When is update_statistics command used?

996


What are the options which must be set to allow the usage of optimistic models?

914


What are different types of raid configurations? : SQL Server Architecture

1002