BUG: Long Comments Can Break Object CodeLast reviewed: May 2, 1997Article ID: Q150459 |
The information in this article applies to:
SYMPTOMSSQL Enterprise Manager (SEM) and ISQL/w can create objects such as views, rules, defaults, stored procedures, or triggers whose object code is nonsensical in syscomments, if long comments (defined by /* */ or --) exist with the object creation script. Recreating the object with this code would cause a syntax error. This behavior can be viewed by using the corresponding edit object feature in SEM or running sp_helptext on the object from any client application. This behavior was seen with a comment of 966 to 1010 bytes in size and depends on the length of the object name.
WORKAROUNDShorten or break up the comment or recreate the object with ISQL.EXE.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONSee article Q147829 for more information about problems viewing object code with sp_helptext.
|
Additional query words: sp_helptext sem
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |