Article ID: 265355 - View products that this article applies to.
This article was previously published under Q265355
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 57827 (SQLBUG_70)
Unicode character type nchar columns are padded with empty strings (ASCII value: 0) instead of space characters (ASCII value: 32) during bulk copy program (bcp) or BULK INSERT operations. With ANSI PADDING OFF, only columns that are created as char and later ALTERed to nchar exhibit this behavior. This problem does not occur if the data is inserted by using the INSERT statement or by using INSERT..SELECT or SELECT..INTO operations.
BULK INSERT and bcp operations behave differently when the column is created as nchar, as opposed to when it is created as char and later altered to nchar, based on the ANSI PADDING setting. This option should not affect the padding behavior on Unicode fixed length character data types.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799For more information, contact your primary support provider.
(http://support.microsoft.com/kb/274799/ )INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
Contact us for more help