While working on project of database backup and recovery, I found out that my client was not aware of the resource database at all. The Resource database is a read-only database that contains all the system objects that are included with SQL Server.
Location of this database is at different places in the different version of SQL Server.
In SQL Server 2008:
<drive>:\Program Files\Microsoft SQL Server\MSSQL10.<instance_name>\Binn\.
The Resource database cannot be moved.

- ResourceDB location in SQL Server 2008
In SQL Server 2005:
Same place where master database is located.
The Resource database have to move with master database.
You can run following commands to know resourcedb version and last updated time.
SELECT SERVERPROPERTY('ResourceVersion') ResourceVersion,
SERVERPROPERTY('ResourceLastUpdateDateTime') ResourceLastUpdateDateTime
GO

Reference: Pinal Dave (http://blog.SQLAuthority.com)












This is a great topic. I just would like to add, that some of the benefits of implementing the Resource database in 2005 – 2008 are that it is much easier to apply service packs and to revert changes to multiple instances. For an example, when a dba has to apply a service pack to multiple instances, they can just copy mssqlsystemresource.mdf and mssqlsystemresource.ldf to the target instances.
How can we know that all version applied on all the instance?
Hi Feodor,
Can you plese tell me more about this Topic
“For an example, when a dba has to apply a service pack to multiple instances, they can just copy mssqlsystemresource.mdf and mssqlsystemresource.ldf to the target instances
This is useful information. Thanks both of you for sharing the same.
Hi Pinal,
Can you more elaborate , it can be use to apply only new service pack? or any more other use for that database.
Hi Pinal,
In SQL Server 2008:
Resouce database will be under:
:\Program Files\Microsoft SQL Server\MSSQL10.\MSSQL\Binn\
There is a typo in the location for your post
[...] Very interesting question to me. I have never thought about it when I posted as I assumed few things. Here is the answer. Database_ID 32767 is reserved Resource Database.I have not created that many databases. This database is hidden from users in SSMS but you can see that if you go to file folder. You can read more about the same over here SQL SERVER – Location of Resource Database in SQL Server Editions. [...]
Thanks for the information, I didn’t even know there was a resource database. I always look forward to receiving your blog posts as I always learn something new.
Feodor stated that there is a benefit to having separate resource DB such as easier to apply sp. Could someone explain this in more detail? Thank you.
Hi,
Interestingly, I copied resource database and pasted in other directory. Later changed name of mdf & ldf as test111.
Later Attached database using name test111 & reasigning log/mdf file
after attaching, just check all DMV.
Interesting topic.
[...] Server Interview Questions and Answers ISBN: 1466405643 Page#104 Resource Database ID – 32767 Location of Resource Database in SQL Server Editions mssqlsystemresource – Resource Database Importance of Master Database for SQL Server [...]
[...] Location of Resource Database in SQL Server Editions While working on a project of database backup and recovery, I found out that my client was not aware of the resource database at all. The Resource database is a read-only database that contains all the system objects that are included with SQL Server. This is a very important database and it should be properly backed up. [...]