BUG: Missing Integers with SQL Statement When You SET COLLATE TO "RUSSIAN" (281898)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Macintosh 3.0b
This article was previously published under Q281898 SYMPTOMS
When you set the collation sequence to Russian (instead of Machine), queries in Visual FoxPro that compare integer fields in the WHERE clause of
a SQL SELECT statement between two or more tables may not return all
matching records.
RESOLUTION
To resolve this problem, use one of the following three workarounds:
- Create index tags on the integer fields before you run the query.
- Set the collation sequence to Machine before you run the query. To do this, issue the SET COLLATE TO "Machine" command in the program before you run the query.
- Use a numeric field without decimal places instead of an integer
field.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
This problem is very similar to that described in the following Microsoft Knowledge Base article. Only the missing integers are different.
176884 PRB: Problems with SET COLLATE and Queries with Integer Fields
For additional information on related problems, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
164869 SET COLLATE TO "GENERAL" May Affect Search Results
281876 FIX: Missing Integers with SQL Statement When You SET COLLATE TO "Hungary"
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Mark Barnard, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbbug kbCodeSnippet kbDatabase kbnofix KB281898 |
---|
|