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.




Posted by Suryanarayanan Prakash at 11:58 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: SQL
Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2013 (5)
    • ▼  September (5)
      • Configure State Service in SharePoint 2013
      • Rename Admin Content database in SharePoint 2013
      • Migrate SQL 2008R2 SP2 to SQL 2012 SP1 in SharePoi...
      • Find Current Location of Data and Log File of All ...
      • List all the databases currently used by SharePoin...
  • ►  2012 (4)
    • ►  November (4)

About Me

Suryanarayanan Prakash
View my complete profile
Simple theme. Theme images by gaffera. Powered by Blogger.