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?



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

Answer / 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

More SQL Server Interview Questions

What are the advantages of stored procedure in sql server?

0 Answers  


What is side by side migration in sql server?

0 Answers  


What is difference between count (*) and count 1?

0 Answers  


How do you connect 100 files as a flat file sources in one package of SSIS?

2 Answers  


How do SQL server 2000 and XML linked?

2 Answers  


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

0 Answers  


What happens when converting big values to numeric data types?

0 Answers  


Which are the olap features?

0 Answers  


Can I work with several databases simultaneously? : sql server management studio

0 Answers  


How to handle errors in Stored Procedures. I want to display a message to the user in the .aspx page that is calling a stored procedure in it's code behind. please help me.

2 Answers   247Customer,


OPTIMIZATION OF SP,CURSOR,TRIGGERS

0 Answers  


What is a linked server in sql server?

0 Answers  


Categories