Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to detach System DB in SQL 2000

Status
Not open for further replies.

DLTaylor

MIS
Dec 17, 2003
51
0
0
GB
I want to detach the system db files, when I run the sp_detach_db command I am told I cannot do this.

I have read many threads that suggest; detaching system db is a matter of course.

Any ideas as to why I encounter an error msg - cannot overwrite system databases
 
No, you cannot just detach the system dbs. What are you actually trying to achieve?

--James
 
I want to overwrite the system databases with .ldf & .mdf files from back-up .ldf & .mdf files.

i.e. To restore the DTS data which exists within the MSDB.
 
if you are trying to restore DTS packages then you just need to attache the old MDB to the database, (different name), and then copy everything you need from the correct dtspackages tables into the current system mdb.

Easy to do.


Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top