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# - SharpSVN - How to get the previous revision? -

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

url - Querystring manipulation of email Address in PHP -