BUG: Unable to Specify Leading Wildcard (%) with LIKE Operator in Exchange 2000 Query (295320)
The information in this article applies to:
- Microsoft Exchange 2000 Server
This article was previously published under Q295320 SYMPTOMS
When you submit a SQL query that specifies a leading wildcard (%) in the LIKE operator for the WHERE clause, you may receive the following error:
"Submitted SQL statement was incomplete." (0x80550023)
CAUSE
The LIKE operator for Exchange 2000 queries only supports either a trailing wildcard or both leading and trailing wildcards; for example:
LIKE 'M%'
LIKE '%M%'
WORKAROUND
If you need to search by values that end in a particular substring, specify both leading and trailing wildcards (for instance, LIKE '%substring%'), and then process the results.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 3/4/2004 |
---|
Keywords: | kbbug kbMsg kbpending KB295320 |
---|
|