The information in this article applies to:
SYMPTOMSWhen using the DUMP DATABASE command within a stored procedure, the option to initialize the tape will not be respected. In this scenario, all dumps made to tape will actually be appended to the tape. WORKAROUNDIt is possible to use the stored procedure xp_cmdshell and isql to perform the same task within a stored procedure. An example stored procedure is as follows:
If the stored procedure is referenced from another database other than
master 'master..' must be used. Otherwise the above store procedure will
dump the database to the designated tape dump device, initialize the tape,
and not eject the tape. The xp_cmdshell option 'no_output' prevents results
of the option from being returned to the client.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 4.2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: Windows NT DUMP DATABASE TAPE
Keywords : kbusage SSrvStProc kbbug4.20 SSrvWinNT |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |