I would like to perform a like
or regexp
across several columns. These columns contain tags, keywords, etc. Something that's the equivalent of:
sqlplus scott/tiger @myquery.sql | grep somestring
Right now I have something like
select * from foo where c1 || c2 || c3 like '%somestring%'
but I'm hoping I can get something a bit more general purpose and/or optimized. Any clues appreciated!