Microsoft
Software
Hardware
Network
Question : Search through multiple cols
Hello,
I have a form with text field, and a submit button. Its a search field.
My Tables has 3 cols.
id, name, descrip.
When user submit the form I want to search through multiple cols,
something like this,
SELECT * FROM table WHERE name LIKE %value% OR descrip LIKE %value%
above query wont work, but is there any method to get this done?
Answer : Search through multiple cols
SELECT * FROM table WHERE name LIKE '%value%' OR descrip LIKE '%value%'
Doesn't work?
Random Solutions
ACT 2009 - How to Move database
phpbb forum
Gateway for Server automatically being removed after restart
Sync Access database contacts with Exchange Contacts list
store comma separated multiple numbers in a mysql database field database and query them efficiently
How to highlight row with color in document library in sharepoint 2010?
451 4.4.0 DNS query failed error in Exchange 2007 queue viewer
Need a 40" or larger touchscreen computer
Getting group membership from LDAP
How to commit changes of a Typed Dataset to database at once