Viewing 15 posts - 30,991 through 31,005 (of 59,101 total)
Gatekeeper (5/2/2011)
Not to mention his CTE tally table...
Thank you for the wonderful kudo but I absolutely cannot take the credit for the cteTally. The original concept was first published...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 3:11 pm
Dang, Joe. That's the 3rd one I've seen today... Informative, helpful, kind, and courteous. It's a really nice change. Keep it up! The tone of your...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 1:53 pm
Lynn Pettis (2/25/2012)
Grant Fritchey (2/25/2012)
Lynn Pettis (2/24/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 1:45 pm
BSavoie (2/24/2012)
Fantastic info, which is exactly what I knew I would get as always from this forum. Gails post is exactly what I needed.Thanks all!!
Considering the very narrow range of...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 1:14 pm
HowardW (2/24/2012)
Artoo22 (2/24/2012)
SELECT*FROM#t
WHEREDateCreated >= ISNULL(@FromDate, DateCreated)
ANDDateCreated <= ISNULL(@ThroughDate, DateCreated)
It might look neater, but the use of scalar functions (ISNULL) guarantees that indexes can't be used to fulfil the query.
The word...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 12:58 pm
Henrico Bekker (2/23/2012)
use BETWEEN...select column where daterange between @startrange and @endrange
How's that going to work if either or both variables have a value of NULL because the user didn't specify...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 12:38 pm
Someone with more knowledge in this area will likely correct me but I'd say that "it depends" on how many sessions are going to be hitting this box at once.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 12:35 pm
I'll throw in with the others. The only time you should shrink the database is if there has been a catastropic event that caused some really crazy file growth....
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 12:31 pm
CELKO (2/25/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 12:16 pm
Returning to the original subject of this thread, I can now say I've seen just about everything on this fine forum.
http://www.sqlservercentral.com/Forums/Topic1257783-391-1.aspx
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 12:11 pm
gary.morey (2/24/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 12:02 pm
CELKO (2/25/2012)
Lowell (2/24/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 11:51 am
BWAA-HAAA!!!! In that vein, I have a simple name for most databases I've seen in my life whether they be small or large. "Snowman Databases". They look really...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 11:37 am
BWAA-HAAA!!! Maybe I'm not done yet! I just had an ephiphany that I'll have to explore. It seems to me that a Recursive CTE might be a...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 11:13 am
IF you don't mind changing the view and the code that calls it to be a bit more flexible, we can make it so the table actually only needs one...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 25, 2012 at 11:04 am
Viewing 15 posts - 30,991 through 31,005 (of 59,101 total)