Home Forums Article Discussions Article Discussions by Author Discuss content posted by wfvdijk usp_createsnapshot RE: usp_createsnapshot
Wilfred van Dijk
SSCrazy Eights
Points: 9003
More actions
July 14, 2008 at 6:17 am
#842316
Try this key:
Set@RegPath = 'SOFTWARE\Microsoft\Microsoft SQL Server\' + @SQLInstance + '\Setup'
EXECmaster..xp_regread 'HKEY_LOCAL_MACHINE', @RegPath, 'SQLDataRoot', @value=@DataPath OUTPUT
WilfredThe best things in life are the simple things