April 7, 2010 at 6:27 am
Hi all,
Does anybody know how to attach resource database on SQL SERVER 2008?
I tried on the same way like in SQL SERVER 2005 but that doesn't work on anymore.
I think on sigle user (add startup parameter -m) and normal attach (I got massage that I can't attach resource database?)
I also tried to change name with hexa editor but that also didn't help.
Regards,
April 7, 2010 at 6:35 am
AFAIK, resource database is a read only database containing system objects that cannot be attached and used as a user database. Never tried attaching it though..
April 7, 2010 at 6:39 am
What are you trying to do? You should not need to touch this database in SQL2008, and certainly don't rename it.
---------------------------------------------------------------------
April 7, 2010 at 6:47 am
Of course that I don't touch orginal resource DB 🙂
Right now it is not important what I am trying to do.
April 7, 2010 at 7:25 am
kladibeeto (4/7/2010)
Of course that I don't touch orginal resource DB 🙂Right now it is not important what I am trying to do.
sounds top secret. I'll leave you to it.
---------------------------------------------------------------------
April 7, 2010 at 7:46 am
Sorry, don't be angry to me.
I am preparing course and I wan't to be sure that Microsoft didn't change one thing in SQL SERVER 2008.
That is the reason why I need to see resource db like I see it in SQL 2005.
April 7, 2010 at 7:57 am
I'm not angry. Just difficult to give correct information if I'm not sure what you are trying to achieve and you won't tell me.
Have you tried copying resource files somewhere else, renaming them and attaching as a user database?.
Not that I advocate this as a good thing to do.
can you use sp_help, sp_helptext, information_schema to check out changes without going to these lengths?
---------------------------------------------------------------------
April 7, 2010 at 8:07 am
I understand you.
Yes I tried to rename db, I also tried to rename it with hexa editor.
It seems that Microsoft put some flag and that is the solution how they know that this is resource db.
April 7, 2010 at 8:19 am
they have gone to great lenghts to protect it, basically they don't want people touching it, which is fair enough.
---------------------------------------------------------------------
April 7, 2010 at 8:30 am
Unfortunely I must agree with you 🙁
April 7, 2010 at 8:48 am
george sibbald (4/7/2010)
they have gone to great lenghts to protect it, basically they don't want people touching it, which is fair enough.
I agree with George here. This is one of those things that one should not touch.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply