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

Define full outer join in sql server joins?

1056


Can I delete event logs?

979


What are the different normalization forms?

1165


How many categories of functions based their return modes?

1152


Can you change the data type of a column in a table after the table has been created? If so, which command would you use?

1085


Can sub report data source be different from that of the parent report?

149


Can sql servers linked to other servers?

1099


What are the 10 characteristics of data quality?

1005


Name some of the open source software that you can use in alternative to SSR?

170


How to assign null values to variables or columns?

1030


What is b tree index?

968


What is the usage of the sign function?

1199


Explain mixed authentication mode of sql server?

1121


What is the ‘fillfactor’?

1016


What do you mean by recursive stored procedure?

993