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

Explain the difference between function and stored procedure?

900


Do you know what are various aggregate functions that are available?

1017


What is the sql profiler?

901


Explain active/passive and active/active cluster configurations?

1017


What happens if we shrink log file in sql server?

913


What are the disadvantages of using the stored procedures?

1019


Delete duplicate rows without using rowid.

1493


How to convert a numeric expression from one data type to another?

934


Is port 1433 secure?

931


What are the different subsets of sql?

1473


What are the differences between decimal and float in ms sql server?

1122


What is a collation in ms sql server?

1020


What are the types of lock supported by ?

996


What is openxml in sql server?

1112


Do you know spatial data types - geometry and geography in sql server 2008?

971