
October 4th, 2010, 05:28 PM
|
|
Contributing User
|
|
Join Date: Nov 2008
Posts: 68

Time spent in forums: 12 h 49 m
Reputation Power: 5
|
|
|
Like '%ANYTHING%' with all fields in table
I think I know the answer to this already but thought I'd make sure. Is it possible to do a SQL query with a "Like" match on all fields in the table without listing each table?
So instead of:
where lastname like '%DOE%' or firstname like '%DOE%' or address like '%DOE%'
You could do something like
"any fields" like '%DOE%'
|