How to find Database files path in MS SQL Server

To Find MS SQL Server Database files (mdf, ndf, ldf) path use following command:

In this example Database Name is [Admin] 

use [Admin]
go
select * from sysfiles
go

Output of the above Query is: 



Comments

Popular posts from this blog

How to Enable / Disable a user in MS SQL Server

How to Create a Database in MS SQL Server

How to Import / Export Data in Oracle