BUG: Problem with Selecting Text Data into a Local Char or Var

ID: Q152052


The information in this article applies to:


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. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Keywords          : 
Version           : 6.0 6.5
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 25, 1999