first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

ASP, ADO and Microsoft Access PROBLEM: ASP Query Cannot Be Used with the LIKE Predicate

The MS-SQL wildcard character '*' cannot be used in dynamic SQL statements scripted in ASP running against ADO. ADO must deal with ODBC or SQL Server conventions and requires '%' as the wildcard character.

The problem is associated with the error message: "Expression cannot be used with the LIKE predicate in query expression." For more details see MS KB article Q162977:

http://support.microsoft.com/support/kb/articles/Q162/9/77.asp
mod date: 2001-10-29T02:07:36.000Z