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
Exchange Restarts Unknown reason
Exchange 2007 OWA causes 2 audit failures on failed login attempt
SQL 2008 upgrade creates two separate instances
Symantec Antivirus 9.0.0.338 move to a new server issues!
CRM 4.0 - Contracts Expiring at a specific time?
Exchange 2007 Certificate Renewal
VMware Workstation 7.1 Won't Install
Cisco VPN Client 5.0.07.0290 on Windows 7 64 bit
centOS VPS setup - FTP access?
VPN 721 error