We have 2 Jobs created in SQL Server Agent.
- PreLoad
- DWHLoad
Job step list in both Jobs have various steps.
DWHLoad needs to be run after successful completion of PreLoad Job.
As of now, I've scheduled PreLoad to run at 1:00AM and it finishes at 5:00AM. DWHLoad to run at 6:00AM to avoid issues if PreLoad delays for any reason.
I could gather PreLoad steps into DWHLoad and run as one job to maintain dependency.
However, there are occasions where I need to run PreLoad separately and same is true with DWHLoad.
Is there a way to create dependency on Job and not on Job step?
i.e. Start DWHLoad only after successful completion of the PreLoad job?