Viewing 15 posts - 46,111 through 46,125 (of 59,101 total)
Crud... I was just reaching for the bucket o' fresh pork chops... 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 3:51 pm
Matt Whitfield (1/6/2009)
Jeff Moden (1/5/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 6:35 am
Grant Fritchey (1/5/2009)
RBarryYoung (1/5/2009)
Actually, I heard from someone at PASS that WITH RECOMPILE does not work reliably for this problem in SQL2005, but "is fixed" in SQL 2008.
WITH RECOMPILE was...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 6:20 am
sqlblue (1/5/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 6:15 am
First, I'd give Peso's code a whirl.
Second, if you really must do the Null conversion to 0, use ISNULL instead of COALESCE... ISNULL is actually quite a bit faster the...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 6:05 am
RBarryYoung (1/5/2009)
Jeff Moden (1/1/2009)
Day "0" is 01/01/1900... and it was a Monday... Guess what happens if you add 4 days to any Monday? You get a Friday... every time.
Sorry...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 5:54 am
pavankumarh2 (1/5/2009)
I am moving to work on Production support as DBA ,plz any tell me any body what are the common responsibilities of...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 5:48 am
My very strong recommendation would be that both queries are wrong simply because of the use of BETWEEN. In the first query, you miss out on a whole second...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 5:45 am
My general rule of thumb is to never use table variables unless the system forces me to. That means the ONLY place I use them is in UDF's.
The reason...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 5:34 am
What's simple about any of that? And, like Luke said, why would you convert a perfectly good number to a VARCHAR?
If you want to leave it as a number...
CAST(yournumber...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 6, 2009 at 5:19 am
And, you want it to be case sensitive?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 5, 2009 at 8:47 pm
Sounds odd, I know... but do you have a place where you could restore a 3 month old backup so you could do a compare with the current table? ...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 5, 2009 at 8:46 pm
JuanBob (1/5/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 5, 2009 at 8:39 pm
Thanks, Chris!
--Jeff Moden
Change is inevitable... Change for the better is not.
January 5, 2009 at 8:09 pm
jcrawf02 (1/5/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 5, 2009 at 8:06 pm
Viewing 15 posts - 46,111 through 46,125 (of 59,101 total)