FIX: Convert to Text Function w/ NULL Input Returns Blank String (165597)



The information in this article applies to:

  • Microsoft SQL Server 6.5

This article was previously published under Q165597
BUG #: 16417 (WINDOWS: 6.5)

SYMPTOMS

Select convert(text,NULL) returns a blank string instead of NULL.

WORKAROUND

To work around this problem, use select convert(varchar(255),NULL).

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbBug kbfix KB165597