Friday, 27 August 2021

How to call procedure in task scheduler in windows

 sqlcmd -Q "exec SP_Test" -S DC_SRVR\SQLEXPRESS -d DBNAME -U sa -P PASSWORD -o path\yourOutput.txt

No comments:

Post a Comment