like query
like query
(OP)
i'm trying to execute a like query in asp script, but i get an error.
the error is
Item cannot be found in the collection corresponding to the requested name or ordinal
the fields names are right, becase i run the same query with another conditions,
i want to get the records that has the char 3. i do like '%3%' and it gives the error, if i do like '3' it's ok, but it's not what i want.
what is the exact syntax for that?
the error is
Item cannot be found in the collection corresponding to the requested name or ordinal
the fields names are right, becase i run the same query with another conditions,
i want to get the records that has the char 3. i do like '%3%' and it gives the error, if i do like '3' it's ok, but it's not what i want.
what is the exact syntax for that?
http://e.3arabiyat.net - sportcars
http://www.brinji.com - Free Banners System
http://byramix.blogspot.com - Programmig issues
http://www.10-pr.com - free web directory
RE: like query
As far as the LIKE statement, the "%" is the wildcard character. I would suggest running the query in the Pervasive Control Center to make sure that the syntax is working correctly then make sure the error isn't in the ASP portion.
Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com