Home Forums SQL Server 2008 SQL Server 2008 High Availability check if database exist before restore RE: check if database exist before restore
Steve Jones - SSC Editor
SSC Guru
Points: 734522
More actions
May 7, 2013 at 12:05 pm
#1613105
The default data path is stored in the registry. Here are some answers, but it's the one that reads the registry that you want
http://stackoverflow.com/questions/1883071/how-do-i-find-the-data-directory-for-a-sql-server-instance