I am using SQL Server 2008 and I need to run a SQL Job from SQL Server Agent. I am new to SQL Server Job and I want to execute a stored procedure regularly from a SQL Server Job. But I did not find where to specify the executed stored procedure other than copy & paste SQL commands.
Here is my screen snapshot:
Any ideas how to assign stored procedure to execute in SQL Server Job?
This question is related to
sql
sql-server
tsql
sql-server-2008
sql-server-agent
As Marc says, you run it exactly like you would from the command line. See Creating SQL Server Agent Jobs on MSDN.
Source: Stackoverflow.com