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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

impossible to put msdb db offline

Status
Not open for further replies.

stanja

MIS
Sep 10, 2001
149
BE
Hello ,

I want to move the file from the msdb database so in order to do that i want to put it offline but it gives the message 'option OFFLINE cannot be set in database msdb'.
I'm using SQL server 2005

grtz
Steven
 
it 's indeed what i need but is there a possibility to do this without stopping and starting the sql server ?
 
Not that I know of because the main requirement is the trace flag.

Sorry,

M.
 
MSDB is a system database. The reason you can't do it while the database is online is because SQL Server is protecting itself from damage.

It may be annoying, but it is actually a good thing. After all, I wouldn't want some hack coming along and messing with my system DBs (or user DBs) without having to take them offline.



Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
 
Wow. There are days where I wish old posts were editable. It is too early in the day for me to communicate with anyone. @=)

What I meant to say about the above is that I'm glad you can't take system DBs offline because someone with malicious intentions could really screw up another person's production environment and crash the production system by the simple act of taking down the Master or MSDB databases.

Does that make sense?



Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top