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

Explain the various types of concurrency problem?

1243


what is normalization? Explain different levels of normalization? : Sql server database administration

1413


what are isolation levels? : Sql server database administration

1061


What do you mean by subquery?

1151


what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration

1175


What are the joins in sql server? : sql server database administration

1050


What is sql injection? How to protect against sql injection attack?

1043


Define cursor locking

1061


Suppose you want to implement the one-to-many relationships while designing tables. How would you do it?

1005


What is trigger explain with program?

1019


How do I run sql server 2014?

1055


Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication

1034


What options are available to audit login activity? : sql server security

1202


what is checksum in sql server.........???

1748


How many types of relations are there between dimension and measure group? : sql server analysis services, ssas

1249