Parallel execution of stored procedures in job (SQL Server)

后端 未结 3 1077
北荒
北荒 2021-01-16 05:39

Breif: I have five stored procedures and each of it have no dependencies. The identical stuff is that it pulling data from five different servers. We are just collating and

3条回答
  •  -上瘾入骨i
    2021-01-16 06:24

    It's also possible to create a main job and add steps to call child jobs (each calling it's own stored procedure) asynchronously as suggested at https://dba.stackexchange.com/questions/31104/calling-a-sql-server-job-within-another-job/31105#31105

    However for more complicated flow it's better to use SSIS packages which are design to handle different workflows.

提交回复
热议问题