BUG: SQL-DMO ::GetMemUsage Method Returns Empty StringLast reviewed: April 16, 1997Article ID: Q152621 |
The information in this article applies to:
SYMPTOMSWhen you carry out the SQL-DMO database consistency check (DBCC) methods, you can receive empty return values. In most cases this is valid output. All the SQL-DMO DBCC methods use the WITH NO_INFOMGS option to suppress information level output. For example, if you use the ::CheckAllocations method and there are no problems, the output remains empty. However, if the processing encounters an error greater than Severity 10, it is placed in the output string.
strOutput$ = oServer.Databases("pubs").CheckAllocations CAUSEIn the case of ::GetMemUsage, all output is informational and is less than Severity 10, so it is always suppressed.
WORKAROUNDRun DBCC MemUsage from ISQL or ISQL/W.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server versions 6.00 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |