However, I notice that although len (s) reports that the string should be> 8000
I also got into a problem with SQL Studio :), but not a maximum length of 8000 bytes, or 4000 for nvarchar (unicode).
Any case when the column data type is actually text or ntext , and you go to varchar ?
si618 source
share