CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2000
    Location
    Ottawa, Canada
    Posts
    469

    SQL Server database folder needed

    How can I find out the name of the data folder of SQL Server?
    From the code, of course.
    Thank you.


  2. #2
    Join Date
    Aug 2000
    Location
    Ottawa, Canada
    Posts
    469

    Re: SQL Server database folder needed

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured