Quote:
Originally Posted by slamet_mjk
...How to configure, so both of sql syntax produce different result ?.
|
they give different results because you are asking a different question and the two statements are mutually exclusive.
Code:
where Column1 = 'FilterValue';
is not the same as
Code:
where Column1 = 'FilterValue ';
the options are
Code:
where Column1 = 'FilterValue' or Column1 = 'FilterValue ';
or use a wildcard match
Code:
where Column1 like 'FilterValue%';
or just search column1 that starts with FilterValue
Code:
where Column1 like 'FilterValue';
or you may be able to use the in predicate
Code:
where Column1 in (blah, blahdi, blahdiblah);
so I'd suggest you look at the MySQL manual for wildcard searches or matches