Am using osql command in a batch file that process jobs from SSMS.
I want to use as much possible arguments like -t (query timeout, -P (password) -U (login id) -l (login timeout), -o (outputfile) ...
Here is my command:
osql -S "NameServer" -E -Q"exec msdb.dbo.sp_start_job 'JobName'"
Any help please?
Thank you.