Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)

  • RE: Sum when between

    bmg002 - Thursday, July 13, 2017 3:57 PM

    Looking at your data set though, are you sure it should be 3?
    I am just...

  • RE: Sum when between

    TheSQLGuru - Wednesday, July 12, 2017 8:13 PM

    Look up Itzik Ben-Gan Gaps and Islands TSQL to find a number of solutions to...

  • RE: Sum when between

    Thanks, updated.

  • RE: Case statement - Count When

    TheSQLGuru - Wednesday, July 5, 2017 7:25 AM

    danijel.bozic87 - Tuesday, July 4, 2017 10:02 PM

  • RE: Case statement - Count When

    John Mitchell-245523 - Wednesday, July 5, 2017 5:50 AM

    case
        when (sn_type='De-Activated' and sn_status='COMP')
            or (sn_type='Re-Activattion' and sn_status='N-CO')
       ...

  • RE: MAX MIN OR SUB-QUERY

    I have color coordinated my logic. Hope this makes a little more sense.

  • RE: MAX MIN OR SUB-QUERY

    Hi Chris 
    Sorry, i could have explained better
    I have attached a file below.
    With the table below I am able to see how long the ID took to get to each stage...

Viewing 7 posts - 16 through 22 (of 22 total)