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...

what is cursor?why we will go to cursor?advantages &disadvantages of cursors?

Answer Posted / ramya gurrala

Cursor is a pointer(in c/java).Cursor work with DML and information can be accessed.

Cursor is required to process each row individually for queries which return multiple rows.

Advantages:1)We can do operations on each row.
2)Response time is good.
3)Cursors are faster than the while loop.

Disadvantages:1)Repeated network round trips.
2)Occupies more resources and temporary storage.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is foreign key related to primary key?

970


Explain the first normal form(1nf)?

1024


What are the types of joins in sql?

1126


What is bcnf normalization form?

1114


explain different types of cursors? : Sql server database administration

1090


How to rebuild indexes with alter index ... Rebuild?

1127


What is row_number()?

983


What is the use of floor function in sql server?

1081


Tell me about the approaches which you used to counter the DI problems.

1351


How to grant a permission in ms sql server using "grant execute" statements?

1092


How to get a list of columns using the "sp_help" stored procedure in ms sql server?

1024


Does the unique constraint create an index?

1057


Do you know what are the properties of the relational tables?

1031


Explain something about security and SQL Azure?

134


Explain transaction server auto commit?

1038