Forum Replies Created

Viewing 13 posts - 181 through 193 (of 193 total)

  • RE: The Growth of Storage

    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...

  • RE: Precedence in math

    That would be the B in BODMAS

  • RE: Divide by zero from implicate conversion

    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...

  • RE: Divide by zero from implicate conversion

    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...

  • RE: Rounding question

    Hugo Kornelis (11/19/2012)


    crmitchell (11/19/2012)


    Hugo Kornelis (11/19/2012)


    mbova407 (11/19/2012)


    Thanks for this question. I always hated/never understood this banker's rounding rule. As you can see from this post it is not...

  • RE: Rounding question

    Hugo Kornelis (11/19/2012)


    mbova407 (11/19/2012)


    Thanks for this question. I always hated/never understood this banker's rounding rule. As you can see from this post it is not just in Sql

    (...)

    Like...

  • RE: Rounding question

    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...

  • RE: how to use substring to get the values in bold

    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...

  • RE: Rounding question

    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...

  • RE: Dealing with Daylight Savings Time

    kramaswamy (10/31/2012)


    Hi all,

    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()...

  • RE: Reportin services - AVG of avg

    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...

  • RE: Deleting the tables which are not been used from long time.

    Sean Lange (10/10/2012)


    Be careful with approach. Deleting tables just because they haven't been used in a couple months can very likely come back to bite you. What about reports that...

  • RE: Dynamic file name for FTP task.

    churlbut (10/10/2012)


    Sorry had to add my two cents about using expressions with Date included in the file name.

    This is a bad idea if you will be running the package around...

Viewing 13 posts - 181 through 193 (of 193 total)