Hi,
Help needed.
I want to run the below script with out using .bat file from SQL Server agent .
c:
cd \vinod_jobs\vinod_extract-scripts_2020-04-08
sqlcmd -S localhost -d databasename -h -1 -s "|" -i vinod-specialties-3.sql -W -w 2000 -o "\servername\d$\vinod\Output\Vinod-specialties-%DATE:~-4%-%DATE:~4,2%-%DATE:~7,2%-%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%.dat"
Thanks in Advance.
Vinod Thomas