Viewing 5 posts - 1 through 5 (of 5 total)
It works, thank you very much Steve!
October 16, 2019 at 12:42 pm
Hi All,
please,
How do I make SQLCMD retrieve any SQL file name using –i? (* .sql) If there will always be only 1 file *.sql in the directory?
Thx!
M2F
October 15, 2019 at 8:07 am
Hi,
FOR /F "tokens=1 delims=," %%G IN (instanceslist.csv) DO FOR /F "tokens=1 delims=," %%G IN (instanceslist.csv) DO SQLCMD -S %%G -i "acl.sql" -m 12 -E -o "protocol_output.txt"
If I have 5 database...
October 8, 2019 at 10:45 am
FOR /F "tokens=1 delims=," %%G IN (dblist.csv) DO FOR /F "tokens=1 delims=," %%G IN (dblist.csv) DO SQLCMD -S %%G -i "acl.sql" -m 12 -E -o "protocol_output.txt"
How do I make a...
October 7, 2019 at 1:18 pm
Unfortunately the policy of the organization banned Powershell. That's what I suggested first.
Your solution looks effective.
Thank you.
September 24, 2019 at 5:11 pm
Viewing 5 posts - 1 through 5 (of 5 total)