• Hi Luis,

    I tried but seems SQL server 2008 does not recognize 'IIF' is that being deprecated ?

    thanks

    dj