Created
November 1, 2016 15:32
-
-
Save JosiahSiegel/74ce8d065eee63fb248bec3d89e5057b to your computer and use it in GitHub Desktop.
#MSSQL #Research List database file locations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DB_NAME(database_id), name, physical_name AS CurrentLocation, state_desc | |
FROM sys.master_files | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment