sql-server-2008sql-server-agentsql-server-job

SQL Job: How to start with?


Can anyone help me to create an SQL job in SQL server Agent (SQL 2008) ,which will run in a purticular time interval(Ex: Daily) and select records from a table with status=1 (select name,age from student)and pass to another stored procedure which accepts student name and age


Solution

  • Here is the approach I would take:

    Create the script

    Save the script in a SQL file for further reference.

    In SQL Server Agent