I am doing a left outer join so I am using SELECT FIELDA,FIELDB,IFNULL(FIELDR,0) ....
FIELDR is from the unmatched file.
The question is in the WHERE statement do I have to repeat the if null as in IFNULL(FILELDR,0) <> 0 or can I just say FIELDR <> 0 ?
SQLRPGLE by the way.
FIELDR is from the unmatched file.
The question is in the WHERE statement do I have to repeat the if null as in IFNULL(FILELDR,0) <> 0 or can I just say FIELDR <> 0 ?
SQLRPGLE by the way.





Comment