A ad Jun 26, 2006 #1 I am use a Database name "myBase" of SqlExpress 2005 as DataBase. How can I get the physical location of "myBase"
I am use a Database name "myBase" of SqlExpress 2005 as DataBase. How can I get the physical location of "myBase"
N Nicholas Paldino [.NET/C# MVP] Jun 26, 2006 #2 ad, What do you mean by the physical location? Do you mean the files that the information in the database is stored in, or something else?
ad, What do you mean by the physical location? Do you mean the files that the information in the database is stored in, or something else?
G Guest Jun 26, 2006 #3 ad, If what you mean is the physical location of the SQLExpress MDF database file, you can use the following T-SQL: use master select filename from sysdatabases Where name = 'MyBase' --Peter
ad, If what you mean is the physical location of the SQLExpress MDF database file, you can use the following T-SQL: use master select filename from sysdatabases Where name = 'MyBase' --Peter