Surya's Blog
SharePoint 2013/2010/2007, MS Dynamics CRM, C#, Database, TFS, BI
Showing posts with label
SQL
.
Show all posts
Showing posts with label
SQL
.
Show all posts
Saturday, September 14, 2013
Find Current Location of Data and Log File of All the Database using sql command
The sql command to list the current data and log file locaiton is as follows.
select name, physical_name As current_file_locaton from sys.master_files
Following is the output of files used by my SQL Server instance.
Older Posts
Home
Subscribe to:
Posts (Atom)