The information in this article applies to:
BUG #: 45854 (SQLBUG_70) SYMPTOMS
The SQL Enterprise Manager Data Transformation Services (DTS) Query Builder does not correctly build an SQL statement that begins with the SQL Server inline comment '--'. Every line after the comment is treated as part of the comment. The Query Builder does not recognize that the comment ends on the same line that contained the '--' inline comment marker.
For example, if you typed the query
And then you clicked Build Query, you would only see the following:
The inline comment and any subsequent lines are all treated as part of the comment. WORKAROUND
To work around this problem, use the /* comment */ style of comments with the DTS Query Builder instead of the '--' inline comments.
Make your comments look like:
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 7.0. Additional query words: remark remarks in line
Keywords : SSrvTran_SQL kbbug7.00 |
Last Reviewed: October 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |