The information in this article applies to:
SUMMARY
With ANSI_PADDING ON, SQL Server 7.0 follows the ANSI Standard for string comparison when comparing strings that are only differentiated by trailing spaces. The ANSI standard is for the shorter string to be padded to the length of the longer string for comparison. Because of this, two strings differing only in the number of trailing spaces will not be viewed as being unique.
This behavior is by design.
MORE INFORMATIONHere are two examples of where this will affect SQL Server behavior:
Additional query words:
Keywords : kbSQLServ700 |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |