Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access Query Syntax
Message
From
20/10/2005 17:36:46
 
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
01060601
Message ID:
01060901
Views:
9
Kevin,

Ric already gave you the correct syntax ... use * instead of % for the wildcard. I mentioned using single quotes to delineate, but that's SQL Server, not sure if it's the same with Access.

~~Bonnie



>Yes, against Access from within Vb.Net.
>
>What I want is something like:
>
>
>SELECT *;
>  FROM MyTable;
>  WHERE MyField LIKE "SomeVal"
>
>
>But I'm not totally sure of the 'LIKE' syntax.
>
>Thanks
>
>
>
>
>
>
>>Kevin,
>>
>>Are you running this query against an Access database? if so, the wildcard for access is * and not %
>>
>>-R!
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform