Connecting Tech Pros Worldwide Forums | Help | Site Map

wildcard search query

Familiar Sight
 
Join Date: Jul 2007
Location: United Kingdom
Posts: 203
#1   Jun 7 '09
Hi

i'm trying to search the value in my following field productDescc.
i don't know why it's not bring result giving me no error

Expand|Select|Wrap|Line Numbers
  1. select * FROM products WHERE (products.CatalogID='" & strCatalogID & "') AND (products.productDescc like '%" & styno & "%') ")
styno bring result.



Familiar Sight
 
Join Date: Jul 2007
Location: United Kingdom
Posts: 203
#2   Jun 7 '09

re: wildcard search query


have a look ths one might b u can help me same post in sql

like statment
jhardman's Avatar
Moderator
 
Join Date: Jan 2007
Location: logan, utah
Posts: 2,690
#3   Jun 10 '09

re: wildcard search query


print out the queries in both cases. I bet you will see that you have a simple typo.

Jared
Reply


Similar ASP / Active Server Pages bytes