when to use "and" statement in informix DB -
I have a problem with my SQL statement, where the situation requires me to select the data to meet many criteria . Question: How to determine the existing old company - Lodging Off (F 557 & F595) or (F558 & F559) or (F557 and F 55)
My SQL: But this statement gives me results empty, even the data is present condition. ... both values Your quoted question does not give me enough information about what exactly the situation should be, but - in short - you will not get any indication because your current situation can never be true. vchformtrx does not contain more than one value in the same line For example;
WHERE (vchformtrx = '559' and vchformtrx = '557')
559 and < code> 557 will require vchformtrx in one line at the same time come true and return to the result goes to the same other
and situations 3 false Using
or on situations is always wrong.
Comments
Post a Comment