Schedule SQL Server stored procedure execution
UtilitiesDeveloper
What it does
When a specified interval arrives, this automation executes a stored procedure in SQL Server. The procedure runs on schedule without manual intervention, keeping data processes consistent.
Who it's for
Data and analytics teams who need to run SQL Server stored procedures on a regular cadence.
Apps used
How teams use this
Refresh data warehouse tables nightly
Run a stored procedure every night to aggregate transactions and update summary tables. The process completes without someone having to log in and start it manually.
Archive old records weekly
Execute a stored procedure each week to move historical records to an archive table and clean up the active database. The cleanup happens on a predictable schedule.
Run multiple procedures with different schedules
Set up separate automations for each stored procedure and interval so daily, weekly, and monthly tasks all run at their own times. Add a new automation for each procedure you need to schedule.
How it works
- Wait for the scheduled time. At the interval you set, Clock wakes up and moves to the next step so the stored procedure runs on schedule.
- Run the stored procedure. Execute dbo.sp_test in SQL Server to process data, refresh tables, or perform maintenance tasks on the schedule you defined.