SQL search through ALL fields -


i've got database i'm searching through, , want able return rows have @ least 1 field in them matches search criteria. there easier way looping through columns? like:

select *   table  [insert simple code here] fieldstring 

if not can loop, wondering if there simple solution missing.

use ors in clause:

where col1 .... or col2 .... or col3 ...


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -