Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wildcard in query

Status
Not open for further replies.

schwankieog

Programmer
Jul 25, 2001
43
US
i need to be able to use a wild card sucj as * in a query. unfortunately the following sql statement while working in access does not work via asp:
"select dept.* from dept where (((dept.name) Like "*var*"));"
any help would be appreciated.
 
When coding in asp the wildcard '*' doesn't work. U have to use '%'.

Like "%var%"));"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top