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 data can be copied from one table to another table?

941


What do you mean by authentication modes in sql server?

1075


What is de-normalization in sql database administration? Give examples?

972


How to assign new column names in a view?

909


How to create a simple table to test triggers in ms sql server?

967


what method you can use to reduce the overhead of Reporting Services data sources?

253


What is reportserver and reportservertempdb ?

152


How to provide login information for a new odbc dsn?

1044


How to create an index on an existing table in ms sql server?

972


How you provide security to cube? : sql server analysis services, ssas

957


Tell me what is difference between clustered and non clustered index?

936


What happens if null values are involved in bitwise operations?

1005


Explain the advantages of merge replication?

944


Detail about query optimizer?

1089


Can a table be moved to different filegroup?

967