Article ID: 155723 - Last Review: February 14, 2005 - Revision: 3.3 INF: SQL Server Truncation of a DBCS StringThis article was previously published under Q155723 SUMMARY
If dual byte character set (DBCS) data is too long to fit into a char or varchar column, the data is truncated to fit into the column. If Microsoft SQL Server uses a DBCS code page and this truncation happens right in the middle of a double-byte character, the whole double-byte character is discarded. The following scripts demonstrate this truncation. It is assumed that the code page that applies here is a DBCS code page. col1 col2 ---------- ---------- SLTLTLTLTs SLTLTLTLT | Article Translations
|
Back to the top
