Click to See Complete Forum and Search --> : SQL Server database folder needed


Andrew R.
September 6th, 2001, 01:10 PM
How can I find out the name of the data folder of SQL Server?
From the code, of course.
Thank you.

Andrew R.
September 7th, 2001, 10:11 AM
Have found the answer by myself. :-)
There is a stored procedure of SQL Server "sp_helpdevice". Among the other info it returns real physical path of the master.mdf file.