Forum Replies Created

Viewing 15 posts - 436 through 450 (of 842 total)

  • RE: Decimal place in SQL

    If I was going to use the STUFF I would want to make sure the field was always the same length.  And since I may not always be able to...

  • RE: Decimal place in SQL

    IQ1 - Thursday, February 15, 2018 1:41 PM

    Hi there,
      This works perfectly except for cases where there are leading zeros as is...

  • RE: Decimal place in SQL

    Jason A. Long - Friday, February 16, 2018 10:14 AM

    below86 - Friday, February 16, 2018 9:20 AM

  • RE: Decimal place in SQL

    SELECT original_value,
        CAST(ROUND(CONVERT(INT, original_value) / 10.0, 0) AS DECIMAL(9, 3)) AS decimalvalue
    FROM (VALUES('0054880'), ('0054885'), ('02120'), ('00002124'), ('2125')) x(original_value)
    ;

    Results:
    original_value    decimalvalue
    0054880     ...

  • RE: help with the SELECT statement syntax.

    Just to see how bad I get pounded for this code. This will give you any 'A' claim types where you don't have a 'P' or all 'P' that don't...

  • RE: Question Regarding Date logic

    Jeff Moden - Thursday, January 25, 2018 8:34 AM

    below86 - Thursday, January 25, 2018 8:03 AM

    January 25, 2018 at 10:24 am

    #1977392

  • RE: Question Regarding Date logic

    Sergiy - Thursday, January 25, 2018 8:28 AM

    Below86The only thing I can say is that low scale of the project is no...

  • RE: Question Regarding Date logic

    I can't believe the number of people hung up on February not always having the same last day.  Some simple SQL with get the correct date for you.
    Not everyone...

  • RE: Question Regarding Date logic

    I just don't get it.  Why if there is a field that will only contain the EOM date would I want to use that logic?
    Why do this:
    Where DateField...

  • RE: Question Regarding Date logic

    Jeff Moden - Wednesday, January 24, 2018 8:59 AM

    below86 - Wednesday, January 24, 2018 6:54 AM

    January 24, 2018 at 9:59 am

    #1977149

  • RE: Question Regarding Date logic

    Sergiy - Wednesday, January 24, 2018 3:00 AM

    So many solutions of different quality to the problem which should never be attempted!Jeff asked...

  • RE: Question Regarding Date logic

    Lynn Pettis - Tuesday, January 23, 2018 1:29 PM

    Just for S and G's I thought I'd throw in a solution. sorry for...

  • RE: Question Regarding Date logic

    ChrisM@Work - Tuesday, January 23, 2018 7:52 AM

    below86 - Tuesday, January 23, 2018 7:47 AM

  • RE: Question Regarding Date logic

    This should have been:
    " I would though guess that half the developers at my current shop and more than half at my prior shop wouldn't understand or follow the tally...

  • RE: Question Regarding Date logic

    ChrisM@Work - Tuesday, January 23, 2018 1:23 AM

    below86 - Monday, January 22, 2018 10:58 AM

Viewing 15 posts - 436 through 450 (of 842 total)