Home Forums SQL Server 2012 SQL Server 2012 - T-SQL Creation of a record for the loss of a customer RE: Creation of a record for the loss of a customer
Lynn Pettis
SSC Guru
Points: 442467
More actions
November 25, 2015 at 10:47 am
#1842363
Luis Cazares (11/25/2015)The last condition can be simplified towhere oa1.AccountID is not null or oa2.AccountID is not null
Luis Cazares (11/25/2015)
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.