使用 WAITFOR TIME
下例在晚上 10:20 执行存储过程 update_all_stats。
BEGIN
WAITFOR TIME '22:20'
EXECUTE update_all_stats
END
出处:记事阁