Viewing 15 posts - 361 through 375 (of 717 total)
Roger Sabin (12/21/2010)
delete from tblDocument where DocumentID in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
The delete ran for over...
December 22, 2010 at 8:26 pm
SQLkiwi (12/18/2010)
Strikes me this is a great reason to use table variables instead of #temp tables in procedures.
As long as you understand the consequences and limitations, and the optimizer can...
December 18, 2010 at 3:03 pm
SQLkiwi (12/18/2010)
December 18, 2010 at 3:00 pm
Nice article, thanks!
We have found the same thing in our process, that it is faster to completely rebuild with an INSERT INTO a blank table, than it is to try...
December 17, 2010 at 3:59 pm
Thanks for the question, though it had been edited by the time I got to it.
December 17, 2010 at 2:34 pm
Jamie Longstreet-481950 (12/16/2010)
December 16, 2010 at 4:55 pm
Like a lot of other people I never even knew of STR(), I have always used CAST/CONVERT with a RIGHT to get the results I needed. But now I know...
December 15, 2010 at 3:43 pm
Thanks for the question, I learned a couple things. 🙂
December 15, 2010 at 3:28 pm
Thanks for the interesting question. Though I hope questions like this wouldn't be necessary, and that people would always specify a length on variables to keep themselves out of trouble.
December 13, 2010 at 1:42 pm
I think shrink should be made a manual only process that requires you to type in a CAPTCHA phrase while reading a warning about what will happen to your database....
December 10, 2010 at 6:10 pm
Thanks for the question, I have run into this before so I knew it right away.
December 10, 2010 at 6:02 pm
Interesting question, I got it right by process of elimination. (Too lazy to do the math tonight.)
However, I probably wouldn't use that method to populate a date table. The numbers...
December 8, 2010 at 9:09 pm
Viewing 15 posts - 361 through 375 (of 717 total)