|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, April 05, 2012 2:35 PM
Points: 2,007,
Visits: 767
|
|
Amit Lohia (5/15/2009) I have just install SQl 2008 and I do not see a resource database in system database? Do we need to install it? You don't need to install the Resource database. It's already present but "hidden" so that you won't see it in obvious places, like under system databases in SQL Server Management Studio's Object Explorer or by querying sys.databases. If you want to access it then you might enjoy the following piece by Kalen Delaney:
http://sqlblog.com/blogs/kalen_delaney/archive/2007/09/13/geek-city-the-resource-database.aspx
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 3:10 PM
Points: 518,
Visits: 920
|
|
FYI I did run the select * from sys.databases and I got : master tempdb model msdb reportserver$mssql2k8 reportserer$mssql2k8tempdb and of course the other databases ..
Cheers, John Esraelo
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 3:10 PM
Points: 518,
Visits: 920
|
|
more on this topic..
this is also what I got from running the few lines in below:  use mssqlsystemresource Msg 911, Level 16, State 1, Line 7 Database 'mssqlsystemresource' does not exist. Make sure that the name is entered correctly.
and..
SELECT id, name FROM master.sys.sysdbreg
Msg 208, Level 16, State 1, Line 2 Invalid object name 'master.sys.sysdbreg'.
Cheers, John Esraelo
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, April 05, 2012 2:35 PM
Points: 2,007,
Visits: 767
|
|
John Esraelo (5/16/2009)
more on this topic.. this is also what I got from running the few lines in below:  use mssqlsystemresource Msg 911, Level 16, State 1, Line 7 Database 'mssqlsystemresource' does not exist. Make sure that the name is entered correctly. and.. SELECT id, name FROM master.sys.sysdbreg Msg 208, Level 16, State 1, Line 2 Invalid object name 'master.sys.sysdbreg'. The USE statement would require starting SQL Server in single user mode. The SELECT statement works when connected through the Dedicated Administrator Connection (DAC).
The SELECT queries in the last section of the following article don't require single user mode or DAC:
http://msdn.microsoft.com/en-us/library/ms190940.aspx
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Friday, March 15, 2013 2:43 PM
Points: 3,924,
Visits: 1,554
|
|
Most amazing for me is looking at the results out of 953 attempts. If some one doesnot recognize ResourseDB as system database is Ok. May be they don't know but how can people have doubt about master, msdb, model and tempdb. They are part of SQL Server setup from ages ?
master 99% msdb 97% model 92% tempdb 95%
SQL DBA.
|
|
|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: Today @ 5:39 AM
Points: 31,529,
Visits: 13,866
|
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, April 05, 2012 2:35 PM
Points: 2,007,
Visits: 767
|
|
| I'm not surprised. I've interviewed too many SQL Server "experts" and "experienced DBAs" (according to the placement firm that sent them) who couldn't name any of the system databases. When that happened I would say "ok, well one of them is tempdb, so can you name the others" just to get things moving forward, but that usually wouldn't help.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 1:56 AM
Points: 1,063,
Visits: 4,261
|
|
Thanks for this quesion, as I has never heard of / noticed the Resource database before, so I now know to include backing it up as part of any major upgrade. Cheers, John.
|
|
|
|