Viewing 15 posts - 54,796 through 54,810 (of 59,078 total)
OMG!!! Table driven code! What a concept 😉
Nice job, Serqiy...
September 29, 2007 at 9:43 pm
Paul (5/3/2007)
Make believe that this has nothing to do with cursors, stored procs or anything else. I just want to know if anyone has ever seen...
September 29, 2007 at 9:39 pm
Steve Jones - Editor (9/28/2007)
Ouch!Noted and added to the list.
Heh... when are they going to get to the list I submitted, Steve?
September 29, 2007 at 9:31 pm
Bob Fazio (9/12/2007)
The following does a much better job explaining when/why to use table variables.
Also, be careful not to get into optimization overload. I still suggest that you spend...
September 29, 2007 at 9:26 pm
Normalize 'til it hurts! It'll save lot's of pain later on... kinda like the pain you're going through right now... 😉
September 29, 2007 at 9:21 pm
Ninja's_RGR'us (9/29/2007)
Wow, 52 gig of space!!!! That's a lot of crap to put up with ;).
Ouch! Brain freeze! You just reminded me of a girl I used to...
September 29, 2007 at 9:16 pm
GilaMonster (9/29/2007)
September 29, 2007 at 9:11 pm
Did someone say "loop"??? :blink: On a single row????? :sick:
Using a previous example where 5 decimal places are required to be padded with zeros...
DECLARE @i DECIMAL(10,5)
SET...
September 29, 2007 at 9:06 pm
Sorry... temporarily lost my mind... I meant CreatedBy and CreatedOn... not "Modified". 🙂
You think it's better to store all data twice on insert?... Once "normal sized" in the original...
September 29, 2007 at 8:53 pm
Thanks, Bob...
First, updating 500K or even a million rows in a single update probably isn't a problem... 20 million is a problem. If you do some testing, I think...
September 29, 2007 at 4:20 pm
Hold on.... let me get my pen and write this one down in my "Why I don't let developers design views" book 😀
Why do you need a unique ID on...
September 29, 2007 at 4:08 pm
It was removed because it was a really bad idea...;)
Like I said, stop trying to decrypt the whole table... encrypt the lookup criteria and do a normal join or WHERE...
September 29, 2007 at 4:01 pm
Why do you think you need the extra overhead of RTRIM/LTRIM when converting Decimal to Varchar?
September 29, 2007 at 3:56 pm
Heh... why sure, Remi... just look at the difficulties Steve is having trying to fix some of the problems with this "forum in a can" code that RedGate bought. ...
September 29, 2007 at 3:54 pm
Sure... somehow they managed to save trailing spaces in NVARCHAR columns... Use DATALENGTH to check... some of the columns are defined as 100 characters wide... and even if they only...
September 29, 2007 at 3:51 pm
Viewing 15 posts - 54,796 through 54,810 (of 59,078 total)