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
asp.net-easy question
PHP: Get 6 most recent Youtube video links
Convert Vmware guest, increase processors ok?
Starting letters with XXX
Install .PFX file to personal store - Certificate Authority
802.1q trunk
Add-ADPermission -accessrights writeproperty -properties member ACCESS DENIED
Remote site unable to ping / connect to multiple subnets on home corporate network
VBA to Rearrange Excel Data and Apply Formatting
How to have a Stable Microsoft Outlook profile with 4-5GB+ data w/ MS Exchange Mail server ?