BUG: Problem with Selecting Text Data into a Local Char or Var (152052)
The information in this article applies to:
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
This article was previously published under Q152052 SYMPTOMS
If a text column has more than 1155 bytes of data, then using UPDATETEXT to
delete initial 'x' bytes and then selecting next 'y' bytes using the
CONVERT function (of course <= 255 bytes) into a local char or varchar
variable would always populate the variable with first 'y' bytes. Note
that after running UPDATETEXT to delete data, running READTEXT or a simple
select (not populating a variable) shows that the data in the table has
been deleted properly. This does not happen when the text column has data
up to 1155 bytes.
STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server
version 6.0 and 6.5.
Modification Type: | Minor | Last Reviewed: | 3/1/2005 |
---|
Keywords: | kbbug KB152052 |
---|
|