Viewing 15 posts - 48,346 through 48,360 (of 59,099 total)
Thanks, VERY much for the timings. The IO is certainly a much appreciated bonus.
Also, thanks for the detailed explanation of the "loading" required for your task... the kicker was...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 4:38 pm
bitbucket (9/13/2008)
True enough... my question is why you'd want to do anything to all tables from outside the database when the database does it so well?
Jeff: I am taking...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 4:32 pm
Actually, there's a bit of confusion about what a "DBA" actually is...
There are "Systems" DBA's who may come close to not knowing how to write any code other those...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 4:19 pm
Domagoj Orec (9/13/2008)
I've run your code on my machine, core2duo E8400 with 4GB of RAM and this is what I've got in...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 3:39 pm
Heh... time to pull all my NASDAQ stock... 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 3:21 pm
It actually doesn't matter what privs you give Developers on the Dev box... if you allow Developers to design their own tables and you don't have any coding standards and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 3:17 pm
True enough... my question is why you'd want to do anything to all tables from outside the database when the database does it so well?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 2:35 pm
Funny you should bring that article up... 🙂
http://www.sqlservercentral.com/articles/TSQL/62867/
But the desired method to do the split depends on my question... Is this a single parameter being split or does a whole...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 2:32 pm
Bulk Insert will load up to 5.1 million rows of 20 columns each in 60 seconds flat. How many rows are you trying to import?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 2:23 pm
To clarify what Sergiy just said... all those functions that do "lookups" are just an insideous way of doing correlated subqueries which are RBAR on sterioids. RBAR can appear...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 2:21 pm
After looking at this, I think the folks that recommended "NTile" are probably producing the more accurate answer. Are you absolutely positive you want to do that running total...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 2:00 pm
pps... I'm not sure that you need the likes of a running total on this... I'm still looking...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 1:41 pm
Ps... I didn't change any of the smiley faces to ")"... you'll need to do that, I just copied your code.
Also, if you don't mind... you said it took a...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 1:32 pm
upperbognor (9/12/2008)
I'm wondering if there is a faster solution possibly....It's currently taking the longest calculating the running total due to the cross join.
Yes, there is a much faster method and,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 1:29 pm
Heh... ACK!... cursors... while loops... sp_MSForEachTable which contains one of the most ineffecient general purpose cursors there will ever be...
Yeaup... they all work. But, in SQL Server 2005, there...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 12:14 pm
Viewing 15 posts - 48,346 through 48,360 (of 59,099 total)