Find Physical Files in SQL Server


/ Published in: SQL
Save to your folder(s)

Finds the location of the log and data files for every database in SQL Server


Copy this code and paste it in your HTML
  1. SELECT physical_name FROM sys.master_files

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.