• Luis Cazares (11/25/2015)


    The last condition can be simplified to

    where

    oa1.AccountID is not null or oa2.AccountID is not null

    Thanks. Normally I'm pretty good about reducing Boolean logic, just couldn't seem to do it yesterday.