SELECT DB_NAME(database_id) AS DatabaseName, name AS LogicalFileName, physical_name AS PhysicalFileName
FROM sys.master_files AS mf
This blog is created to add all the information and experiences that I have learnt while working on MS sql server as a DBA. The blog is also updated frequently with the real world problem that I encounter hands on at work and the resolutions to resolve them. I hope this blog will be of some use to you and you will revisit. Thank you for stopping by and you are welcome to leave comments.
Wednesday, June 10, 2015
script: How to find logical and physical file names of the database
Labels:
Administration,
database name,
filename,
master_files,
script,
sys.master_files
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment