FIX: SQL Select Inconsistency with SET ANSI OFF and ALLTRIM()ID: Q142887 3.00 WINDOWS kbprg kbfixlist kbbuglist The information in this article applies to:
SYMPTOMSUsing an ALLTRIM() function with an SELECT-SQL statement when SET ANSI=OFF may result in the return of an incorrect subset of records.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.
MORE INFORMATION
Steps to Reproduce Problem1. Create a program file, and enter the following lines of code into it:
2. Run the program created in step 1. No records are returned from the
3. Change "CREATE TABLE x2 (id C(4))" to "CREATE TABLE x2 (id C(5))" in
4. Run the program again. The records are returned correctly.
Additional reference words: 3.00 buglist3.00 fixlist3.00b VFoxWin KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: FxprgSql
|
Last Reviewed: January 24, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |