Hi,
I used a spreadsheet to create multiple lines of the same command but with different parameters.
For example:
sp_help_jobschedule @job_name = "job1"
sp_help_jobschedule @job_name = "job2"
sp_help_jobschedule @job_name = "job3"
etc
Now, I want to run these multiple lines in a query analyzer window. But, I am getting an error on line 2.
How can I get these statments to run one after another without running them one at a time? I want to output a list of information.
Thanks much
I used a spreadsheet to create multiple lines of the same command but with different parameters.
For example:
sp_help_jobschedule @job_name = "job1"
sp_help_jobschedule @job_name = "job2"
sp_help_jobschedule @job_name = "job3"
etc
Now, I want to run these multiple lines in a query analyzer window. But, I am getting an error on line 2.
How can I get these statments to run one after another without running them one at a time? I want to output a list of information.
Thanks much