A quick hint – evaluating 2 tables in one IF BEGIN END block

,

Have you ever wanted to evaluate 2 tables in one IF BEGIN END block, I firstly wrote this:-

1stAttempt

Which always evaluated to 0, this shocked me so i rewrote as :-

Refactored

Which gave me the outcome i needed.

Regards

Andrew

Rate

Share

Share

Rate