PRB: RTRIM() Function in SQL Select Does Not Remove Trailing Spaces (266681)
The information in this article applies to:
- Microsoft ODBC Driver for Visual FoxPro (Build 6.00.8281.00) 6.0
This article was previously published under Q266681 SYMPTOMS
Trailing spaces are not removed from character fields when you use the RTRIM() function in a SQL Select statement passed through the Microsoft Visual FoxPro ODBC Driver.
CAUSE
The Visual FoxPro ODBC Driver maps character fields to an SQL_CHAR type with the same length as the source column or columns.
STATUS
This behavior is by design.
REFERENCES
For additional information regarding String Functions supported by the Microsoft Visual FoxPro ODBC Driver, search for "String Functions" in the Microsoft Visual FoxPro ODBC Driver Help Reference.
For additional information regarding ODBC data types and corresponding Visual FoxPro data types, search for "SQLGetTypeInfo" in the Microsoft Visual FoxPro ODBC Driver Help Reference.
For more information regarding how Microsoft FoxPro data types are mapped to ODBC SQL data types using the Microsoft Desktop Database Drivers, search for "Microsoft FoxPro Data Types (Advanced)" in the Microsoft Desktop Database Drivers Help file.
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by John Desch, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 10/22/2002 |
---|
Keywords: | kbCodeSnippet kbDatabase kbDSupport kbprb kbSQLProg KB266681 |
---|
|