Viewing 15 posts - 51,466 through 51,480 (of 59,072 total)
Rather than testing your code on 300 million rows, here's some code that generates a million rows of test data. This particular code also has what I call a...
March 27, 2008 at 6:36 pm
Harveysburger (3/27/2008)
gotta say although it's not the most popular answer your arguments are strong
thanks for the input, I will meditate on that for a while and see...
March 27, 2008 at 6:07 pm
John Rowan (3/27/2008)
March 27, 2008 at 5:54 pm
erdem (2/28/2008)
How can I prevent duplicate values on a row without using Primary keys?
For example you can easily see that Sales price2 and sales price3 are same.How can I...
March 27, 2008 at 8:14 am
Madhu... a little feedback on what you end up doing would be much appreciated.
March 27, 2008 at 8:01 am
Sergei Zarembo (3/26/2008)
i agree in this simple replace it would be an overkill. But replace pattern can change by the minute. Wouldn't it be more convenient to have one [or...
March 27, 2008 at 7:51 am
Heh... no, you're right, Matt. I was just anticipating the next possible question (I should probably get out of the habit) which usually turns up as either "How would...
March 27, 2008 at 7:45 am
The popular answer on this and many of the other threads is scenario 3 and some for scenario 2. Just my humble opinion, but I think they might all...
March 27, 2008 at 7:07 am
Todd Engen (3/26/2008)
Try changing "DROP" to "DELETE", or set a WHERE clause with EventClass = 47 for Object : Deleted events.
Opening the traces in Profiler will resolve the EventClass to...
March 26, 2008 at 12:51 pm
See? Now, I get that... thanks, Wayne. Why couldn't someone say something like that instead of thinking that I was trying to give them an eWedgie? :P...
March 26, 2008 at 12:33 pm
Yep... on the small stuff for sure.
Just a note, though... CPU time makes all the difference in the world to me... most of the 8 hour jobs at work that...
March 26, 2008 at 12:24 pm
Matt Miller (3/26/2008)
Hmm - I'm seeing dropped tables....You looking at the right trace? mine seems to automatically roll over after a certain size.
I think so... here's the command I'm...
March 26, 2008 at 12:16 pm
Heh, yeaup... thought I'd let that one go 😛
March 26, 2008 at 12:13 pm
To put it a bit differently than Matt... INSERT triggers fire only once per INSERT statement no matter if one row or thousands of rows are affected. Same is...
March 26, 2008 at 12:02 pm
Viewing 15 posts - 51,466 through 51,480 (of 59,072 total)