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 do you rename a table in sql server?

1001


Is oracle faster than sql server?

933


How to set database to be read_only in ms sql server?

980


What is 1nf 2nf and 3nf?

876


What is a primary key?

934


What is update_statistics command?

1046


What is attribute hierarchy? : sql server analysis services, ssas

998


How to retrieve field values using mssql_result()?

1277


What is log ldf?

961


What happens if we shrink log file in sql server?

960


What are the types of stored procedures in an sql server?

968


How many categories of data types used by sql server?

1001


Can you pass expressions to stored procedure parameters?

1009


Explain something about security and SQL Azure?

134


As a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this?

1020