Click to See Complete Forum and Search --> : Problem with SQL


elektroman
January 26th, 2005, 04:07 AM
Hi guys

I have a problem with a query
I have tried it in access and it goes but in asp it does not give me any result

strSQL="SELECT name_pc FROM ARCH_PC where name_pc like '" & FindIt & "*' "

Thanks in advance

mmetzger
January 26th, 2005, 10:38 AM
What type of database are you querying against? The * character isn't a wildcard in all databases.

Thread1
January 26th, 2005, 10:31 PM
Try to use the "%" instead of "*" in a SQL statement.