My situation - I have to two tables with several columns each, and I need to find certain strings in certain columns in those two tables. For example the search string could be 'ExampleString1' , 'ExampleString2%' etc around 20 strings and about 5 - 6 columns in each table.
I m using the following to find atleast one string in the multiple columns, but this even is not working.
select * from table1 a where upper('ExampleString1%') in (a.Column1, a.column2, a.column3)
Although I can do some basic sql queries, I m not that acquaint with sql. I like to know the solution or any material I can study to get to solution.
Thanks rK
%as a wildcard, that syntax doesn't work.%works withLIKE, notIN, and it's on the wrong side of the operator anyway.