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
characters per inch and font points
Include page headers when printing HTML pages with different headers on some of each page
finding an item in a DataTable
can't find Printer Setup Utility in Mac OS X 10.5.8
Mcafee epo 4.5
Open Source SMDR for use with Avaya IP Office v6
Locking down Exchange in SBS 2003
Sony Bravia no sound output from my PC
double proxy in IE
show ip eigrp neighbors - What does the 'H' stand for ?