The information in this article applies to:
SUMMARY
The asterisk (*) and the question mark (?) wildcard characters are not
valid in SQL Server parameter queries and thus are interpreted by SQL
Server as text. Unless these characters are present in the field
restricted by the parameter, the query will return an empty set.
MORE INFORMATIONSQL Server uses the percent sign (%) and the underscore (_), the ANSI standard wildcard characters, whereas Microsoft Access uses the asterisk (*) and the question mark (?) wildcard characters. When executing a parameter query, Microsoft Access does not translate the wildcard equivalents; the string you type in the Query Parameters dialog box is passed verbatim to SQL Server. Microsoft Access translates only strings that are part of the QBE grid. REFERENCESFor more information, search for "parameter query" using the Microsoft Access Help menu.
Keywords : kbusage QryParm |
Last Reviewed: March 12, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |