Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

DB2 :: RE: Refining an SQL

$
0
0
Author: Rohit Umarjikar
Posted: Wed May 25, 2016 8:09 pm (GMT 5.5)

Quote:
is it possible to split the query into two..
why not?
Try
Code:
UNION
instead of
Code:
OR

Also try something like this too, it works and we implemented it.
Code:
('N' = :WS-flag OR  :WS-flag = ' ')

_________________
Regards,
Rohit Umarjikar
"Some things Man was never meant to know. For everything else, there's Google"


Viewing all articles
Browse latest Browse all 9405

Trending Articles