Resource database in SQL server | 5th System database in SQL server | SQL interview Q&A | Ms SQL

Published: 14 August 2023
on channel: Right to Learn @BK
3,192
76

The Resource database is a read-only database that contains all the system objects that are included with SQL Server.
The physical file names of the Resource database are mssqlsystemresource.mdf and mssqlsystemresource.ldf.

Changing the location of the resource database is not supported or recommended.

-----------------------------------------------
Scripts used in this video:
------------------------------------------------
SELECT * FROM sys.sysaltfiles
WHERE DBID = 32767

To determine the version number of the Resource database, use:
SELECT SERVERPROPERTY('ResourceVersion');

To determine when the Resource database was last updated, use:
SELECT SERVERPROPERTY('ResourceLastUpdateDateTime');


Watch video Resource database in SQL server | 5th System database in SQL server | SQL interview Q&A | Ms SQL online without registration, duration hours minute second in high quality. This video was added by user Right to Learn @BK 14 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,192 once and liked it 76 people.