Viewing 15 posts - 57,016 through 57,030 (of 59,066 total)
Tony Rogerson's blog he has code which demonstrates this. http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/11/16/1345.aspx |
That code, once you actually get the data...
January 25, 2007 at 7:18 am
James,
Would you mind posting both versions? I'd like to do a little testing to see what's up... thanks.
January 23, 2007 at 4:41 pm
Ramesh,
Thanks for the feedback...
Unless your payroll process has hierarchical payments such as those found in an MLM, I'm pretty sure that we can help you figure out a way to...
January 23, 2007 at 7:19 am
Heh... ya... hence the need for the article. Thanks for the reminder ![]()
January 22, 2007 at 10:23 pm
Its a bit difficult... I have a hard time thinking in a non-set based fashion when trying to write the cursor examples ![]()
January 22, 2007 at 5:51 pm
Then you need to use something like what DC Clark posted based on a date column...
January 22, 2007 at 4:58 pm
Thanks for the feedback, Gova... much appreciated.
January 22, 2007 at 4:55 pm
What does an SP do that needs to execute "at least 200+" times per user?
January 21, 2007 at 9:19 pm
Not listed? It's listed as "Set Option Changed in Batch" and "Set Option Changed". And they kinda tell you how to build a test... create a proc with theoption you want...
January 21, 2007 at 9:11 pm
One of the other problems with Cursors AND While-Loops is the number of resources (mostly cpu time) they use when compared to properly written setbased code... the following example code is...
January 21, 2007 at 2:59 pm
Shoot... didn't mean to make it sound like I took it any other way... guess I need to use more smiley faces ![]()
January 21, 2007 at 9:06 am
Serqiy and Barry,
Heh... I finally drank enough coffee and now I get it... and I agree. Serqiy is absolutely correct.
Actually, my fault... All I saw was "the latest 50 rows"...
January 21, 2007 at 8:56 am
Thanks for the feedback, folks. Glad it helped.
January 20, 2007 at 9:48 pm
In the presence of an appropriate index, DClark's method and the following method both work at about the same speed and both do the same thing functionally...
DELETE FROM...
January 20, 2007 at 9:15 pm
Viewing 15 posts - 57,016 through 57,030 (of 59,066 total)