FIX: ORDER BY Queries May Remove Spaces from ANSI_PADDING Tables

ID: Q189343


The information in this article applies to:

BUG #: 18018 (SQLBUG_65)

SYMPTOMS

An ORDER BY query can remove any trailing spaces if all of the following conditions are true:


WORKAROUND

To work around this problem, try one of the following:


STATUS

Microsoft has confirmed this to be a problem in SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 5a for Microsoft SQL Server version 6.5. For information about downloading and installing the latest SQL Server Service Pack, see http://support.microsoft.com/support/sql/.

For more information, contact your primary support provider.


MORE INFORMATION

DB-Library clients are susceptible to this problem, because ANSI_PADDING is disabled by default. ODBC-based clients would not normally see this problem because ANSI_PADDING is enabled by default.

Additional query words: sp sp5sort truncate truncated work table


Keywords          : SSrvProg kbbug6.50 kbfix6.50.SP5 
Version           : winnt:6.5
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: June 24, 1999