The information in this article applies to:
BUG #: 52161 (SQLBUG_70) SYMPTOMS
If you attempt to use an UPDATETEXT statement to convert TEXT to NTEXT (the
UNICODE equivalent to TEXT) or vise versa, you will receive the following
error:
WORKAROUND
To work around this problem, perform an indirect conversion of TEXT, NTEXT
or IMAGE data, as in the following example:
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 7.0. MORE INFORMATION
The conversion of TEXT, NTEXT, or IMAGE data types to another data type of
these is not supported, implicitly or explicitly. You can explicitly
convert TEXT data to CHAR or VARCHAR, and IMAGE data to BINARY or
VARBINARY. You can explicitly convert NTEXT data to NCHAR or NVARCHAR;
however, the maximum length is 4,000 characters. Implicit conversion is not
supported. For more information, see the remarks and conversion table in
the "CAST and CONVERT (T-SQL)" topic in the SQL Server 7.0 Books Online.
The following SQL code demonstrates this problem:
The preceding code results in the following error message:
Or if you use the following:
You get the following error message:
Additional query words: BLOB CAST datatype datatypes
Keywords : SSrvTran_SQL kbbug7.00 |
Last Reviewed: April 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |