The information in this article applies to:
BUG #: 18750 (SQLBUG_65) SYMPTOMSA CMDexec task may cause heap corruption if it contains an extra double quote ("). Repeated execution of the task may cause a SQL Executive Access Violation (AV). For example, a batch file named mybatch.cmd containing:
when executed as CMDexec task as mybatch.cmd, causes heap corruption and may cause an access violation.If the double quotes are removed from around the sa characters in the preceding code, the problem does not occur:
This behavior occurs with the CMDEXEC.dll shipping with Service Pack 5, dated 8/26/98. It does not occur with previous versions of the file.
WORKAROUNDTo work around this problem, choose either of the following:
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 6.5 Service Pack 5 and Service Pack 5a. MORE INFORMATIONSQLTrace shows the extra double quotes introduced around the SELECT statement:
The following message may appear if SQL Executive is started from the Command prompt with -c -v:
Additional query words:
Keywords : kbSQLServ650sp5bug |
Last Reviewed: June 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |