Viewing 15 posts - 50,656 through 50,670 (of 59,078 total)
srienstr (5/9/2008)
exec dbo.sp_msforeachtable 'delete test.dbo.[?]'
There's generally no need to do a delete without criteria, as truncate will perform better with less logging:
exec dbo.sp_msforeachtable 'truncate table test.dbo.[?]'
That said, I'm sure...
May 9, 2008 at 9:16 am
Steve Eckhart (5/9/2008)
May 9, 2008 at 8:44 am
karthikeyan (5/9/2008)
is it possible to create Tally table starting with 'Zero' ?
Ummm... you read the article... of course there is...
--===== Create and populate the Tally table on the fly
SELECT...
May 9, 2008 at 12:31 am
But overall, the thing that I hated most in high school has become the thing I enjoy doing most of the time.
Funny you should say that... I hated it,...
May 8, 2008 at 10:53 pm
Ian Crandell (5/8/2008)
I have seen you use a tally table way too many times (this is not a bad thing ;)). When I saw the title to this...
May 8, 2008 at 8:20 pm
Gary Noter (5/8/2008)
May 8, 2008 at 8:09 pm
Wayne West (5/8/2008)
It was an excellent book for its time, needless to say it's rather dated. ...
May 8, 2008 at 7:59 pm
GSquared (5/8/2008)
May 8, 2008 at 7:58 pm
creeds (5/8/2008)
May 8, 2008 at 7:56 pm
Ian Crandell (5/8/2008)
As always an excellent, excellent article!:smooooth: I have always seen you use the tally table in your posts and you usually explain it, but this article provided...
May 8, 2008 at 7:54 pm
David Jackson (5/8/2008)
Well done...
May 8, 2008 at 7:40 pm
ALZDBA (5/8/2008)
I'm not worthy to even read this article, but I've been a bad boy and did just that. 😀 Mea culpa.
Clear, to the point, no rocket science involved, practical,...
May 8, 2008 at 7:38 pm
Hi Hugo,
Thanks for the feedback on both the "update" problem and the "bin stacking" problem. I'll be sure to post a solution if I come up with one.
May 8, 2008 at 7:31 pm
p.s. Understood about the random seed... but if you want to generate the exact same test data every time, make a copy of the table.
May 8, 2008 at 2:26 am
Hugo Kornelis (5/8/2008)
Jeff Moden (5/8/2008)
May 8, 2008 at 2:17 am
Viewing 15 posts - 50,656 through 50,670 (of 59,078 total)