Select In MSQL Returns Incorrect Results

(Doc ID 1467543.1)

Last updated on MAY 15, 2018

Applies to:

Oracle Lite - Version to [Release 10.3]
Information in this document applies to any platform.


MSQL is returning a row when it shouldnt i.e.

Create table testable (col1 number(2), col2 varchar(10));
Insert into testable values (1, ’test’);
Select * from testable where (col1 like ’2’ or col2 like ’2’) and col1 =1;

and should not return any results, but in fact it returns.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms