Forum Replies Created

Viewing 15 posts - 406 through 420 (of 7,191 total)

  • Reply To: NOOB question with Case statement

    SELECTCASE 
    WHEN columnA <> 0 THEN 1
    ELSE columnB
    END AS columnB
    FROM MyTable;

    John

  • Viewing 15 posts - 406 through 420 (of 7,191 total)