Viewing 13 posts - 181 through 193 (of 193 total)
realistically it isn't going to be anywhere near 20 years. If it was only the technology of memory/storage - I'd put it at about 5 years.
Currently an entry level PC...
January 18, 2013 at 10:00 am
You are dividing the denominator by 3600 - that is exactly the same mathematically as multiplying the numerator. However due to the computer handling floats using a fixed number of...
December 12, 2012 at 4:39 am
try rearranging this
jkury (12/10/2012)
ISNULL(round((hs.fractionalPart*(dr.LostGeneration/ ( DATEDIFF(SECOND,dr.startTime,dr.endTime) / 3600.0))),1),0.0)
to
ISNULL(round((hs.fractionalPart*dr.LostGeneration*3600/ ( DATEDIFF(SECOND,dr.startTime,dr.endTime))),1),0.0)
If something odd is going on with implicit type conversions in the division this would prevent the problem with...
December 11, 2012 at 2:12 am
Hugo Kornelis (11/19/2012)
crmitchell (11/19/2012)
Hugo Kornelis (11/19/2012)
mbova407 (11/19/2012)
November 19, 2012 at 8:29 am
Hugo Kornelis (11/19/2012)
mbova407 (11/19/2012)
(...)
Like...
November 19, 2012 at 7:39 am
Sean of the Lynchmob (11/19/2012)
crmitchell (11/19/2012)
You mean the rule you were taught at school to round halves to even numbers?
Don't know what sort of school you went to, but the...
November 19, 2012 at 7:05 am
You also need to ensure that 'between', 'and' and '(' cannot appear in the text you are trying to extract.
I'd suggest doing this in stages to facilitate future maintenance.
Definitely as...
November 19, 2012 at 5:19 am
You mean the rule you were taught at school to round halves to even numbers?
The big problem in this question though is that whilst 3.75 can be stored exactly in...
November 19, 2012 at 4:56 am
kramaswamy (10/31/2012)
What I discovered eventually is that there are times where GETDATE() and GETUTCDATE(), executed on the same row of the query, occasionally return different results:
GETDATE() : 2012-10-31 13:58:48.933
GETUTCDATE()...
November 7, 2012 at 2:10 am
The simple school maths level answer
Never average averages.
The slightly better answer
Never average averages unless the sample sizes of all elements are identical
The reason
suppose you have a set of average speeds...
October 17, 2012 at 8:24 am
Sean Lange (10/10/2012)
October 12, 2012 at 2:13 am
churlbut (10/10/2012)
This is a bad idea if you will be running the package around...
October 11, 2012 at 4:39 am
Viewing 13 posts - 181 through 193 (of 193 total)