Viewing 15 posts - 49,531 through 49,545 (of 59,091 total)
True enough... I kinda like @Days, though... makes the CTE easier to read from a self documenting aspect. Yeah, I know... easy to read anyway. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 6:25 pm
Actually, no Order By is really necessary except to satisfy the syntactical requirements of Row_Number()...
For example...
[font="Courier New"]SET STATISTICS TIME OFF
SET STATISTICS IO OFF
PRINT REPLICATE('=',100) ---------------------------------------------------------
DBCC FREEPROCCACHE
DBCC DROPCLEANBUFFERS
PRINT '===== Jeff Moden''s...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 6:01 pm
Similar error as to what someone recently did with dates 😉 Check the final value of @BitBucket on Matt's...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:47 pm
rbarryyoung (6/29/2008)
Hey, did you get a chance to look at that draft yet?
Barely... I did a quick scan and now I need to do a full read...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:41 pm
gerald.duncan (6/29/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:33 pm
... and, come to think of it... I think 1 Order By in the CTE will probably be enough, as well. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:30 pm
Much better... now, with the TOP in the CTE, do you really need the WHERE clause?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:28 pm
john.henderson (6/29/2008)
whether the set has one member or a million doesnt matter - handle the whole set.
That's step 1 to perfect set based thinking... glad to see someone else believe...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:26 pm
Search the following article for "Dozens of Other Uses" and look at the first script after that... correctly applied, it's the answer to your problem...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:22 pm
It's a challenge only if you can't get people to listen... I couldn't get them to listen the first time either... then, I took a 24 hour process that would...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:19 pm
TRACEY (6/29/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:15 pm
dfalso (6/29/2008)
So now, what's the minimum number of rows guaranteed to be in master's syscolumns?
Like Barry said... there's always at least 11,000 rows even in a brand new installation. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:09 pm
rbarryyoung (6/29/2008)
Any of this cow left for me? 🙂Here is my entry (really just a tweak of Jeff's):
Nicely done, Barry... but I get numbers just a bit slower (not...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 5:08 pm
Ummm... go check the final date Barry... might explain the "speed" you're getting...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 1:05 pm
I think that's more of what they're after... I don't listen to the pod-casts for many of the same reasons... I'll even add a reason... I don't remember as...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 29, 2008 at 1:02 pm
Viewing 15 posts - 49,531 through 49,545 (of 59,091 total)