All Questions
1 question
1
vote
1
answer
1k
views
How to use the current date as an argument?
I have a batch script which extract SQL data to CSV file:
bcp Database.dbo.MyTable out C:\Reports\Output.csv -s ServerName -T -c
I need the name of the output file to contain the current date.
For ...