• Luis Cazares (7/25/2013)


    To avoid the zero and have nulls, you just need to eliminate the else.

    Well, I'm glad someone is still awake 😉

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP