Click here to Skip to main content
11,431,829 members (63,899 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-server-2005
hi,

Iam using cursor in some procedures.

i want to know if we use cursor,will it take more time consuming or not?

iam updating mass data involving more than 1000 to 50000 records at a time
so i want to know how to minimize the time if we use cursor


Regards
Nirmala Saravanan
Posted 5-Oct-12 22:10pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

In general Cursor has its pros but more cons. I have using an simple approach in in my applicaiton and working with huge amount of data .
check this

http://d4dilip.wordpress.com/2010/04/15/avoid-use-of-sp_xml_removedocument-and-cursor-in-stored-procedure/[^]
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.150428.2 | Last Updated 6 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100