Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Location of data directory
Message
From
05/09/2003 08:54:48
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Backups
Title:
Location of data directory
Miscellaneous
Thread ID:
00826365
Message ID:
00826365
Views:
53
Is there a way to locate the SQL Server data directory using T-SQL? For MSDE customers, I want to implement a one-click backup, and that involves knowing which directory to put the backup in. I would prefer to put it in or relative to the data directory (or some other SQL Server directory). If I don't specify a directory, the backup file is put in the Windows System32 directory.

Any suggestions would be appreciated. Thanks.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Next
Reply
Map
View

Click here to load this message in the networking platform