Reputation: 1962
I have created 2 stored procedures that need to be executed in a specific sequence.
I just do not know how to do this. I also want to do it automatically everyday with GETDATE() as the parameters to both procedures.
Is there an SSIS package I can create to execute these two procedures in the proper sequence for me?
Upvotes: 1
Views: 698
Reputation: 8113
You can also create a SSIS package that will include 2 Execute SQL Task with a precedence constraint between them with something like exec [MyStoredProcedure] @MyParam = GetDate();
as the sql command to execute.
Upvotes: 1
Reputation: 135818
You want to create a job, make each procedure call a step within the job and then run the job on a defined schedule.
Upvotes: 3