FIX: Unicode Server Message Changes to "????" on Message Text When the Text is Saved by SEM (308931)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions) 8.0
This article was previously published under Q308931
BUG #: 300082 (SHILOH_BUGS)
SYMPTOMS
If you create, edit or save a SQL Server message that is a unicode string through the SQL Server Enterprise Manager (SEM), the server message does not save as unicode. If you open the server message, the message text may change to "????".
You can open the SQL Server message in SQL Server Enterprise Manager or Query Analyzer.
CAUSE
SQL Server Enterprise Manager does not supply the "N" prior to the unicode string during the insert operation.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
To work around this problem create a server message by using the SQL Query Analyzer. Use the prefix character "N" explicitly to identify the string as unicode.
For example, you can use the following code to create a unicode server message with Query Analyzer:
exec sp_addmessage 50001, 10, N'<unicode message>'
STATUSMicrosoft has confirmed that this is a problem in Microsoft SQL Server 2000. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 2.
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbbug kbfix KB308931 |
---|
|