Viewing 15 posts - 49,666 through 49,680 (of 59,102 total)
SELECT DATEADD(dd,DATEDIFF(dd,0,GETDATE()),0),
GETDATE()-DATEADD(dd,DATEDIFF(dd,0,GETDATE()),0)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 6:36 pm
jjssilva (6/26/2008)
Check Buffer Cache values. Also, how big are the Databases?The DB shouldn't take more than 80% of the available RAM.
So... what do you do when you run against a...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 6:34 pm
Mark... does your Tally table have a clustered PK on it?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 6:28 pm
Heh... no problem... if you think no coffee is bad, I'm trying to quit smoking... got anyone you want to take to a porkchop dinner? 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 6:07 pm
toniupstny (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:52 pm
venki (6/26/2008)
Especially Jef and Pduplessis,
Heh... I think it's a bit funny that you can spell "Pduplessis" correctly, but not "Jeff"... 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:47 pm
LEFT(columnname,50)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:44 pm
Yep... "Read Committed" is the default on most of the other editions (At least Standard, Enterprise, and Developer's Editions... dunno about the others). Thanks for the tip on the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:43 pm
jthomastx (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:32 pm
GSquared (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:24 pm
Steve Jones - Editor (6/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:22 pm
The other option was taking each line of the calculation, adding a column to a join table between the two sets, and calculating one column at a time on the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:07 pm
JohnG (6/26/2008)
For financial systems, accuracy is paramount.So I'd use DECIMAL
And, that is precisely why I'd use float instead... but, whatever... it's really hard to convince people even with the ol'...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 5:02 pm
Matt Miller (6/26/2008)
After all - the "-5" on is in the summer...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 4:56 pm
is250sp (6/26/2008)
I am a visual person. Would you mind showing me examples of how I would incorporate this into the script above?
Ummm... sure... here's the original script that Carl...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 26, 2008 at 4:52 pm
Viewing 15 posts - 49,666 through 49,680 (of 59,102 total)