When you work with a scheduling tool outside MS SQL, it can be handy to execute jobs using this external tool. If its a trigger or a scheduled time, it's always important keeping your processes together in one place to maintain overview. So if you need to execute jobs you can use the following:
CREATE PROCEDURE refresh_cubes AS
EXEC msdb.dbo.sp_start_job @job_name = 'refresh_cubes'GO
http://www.dbforums.com/microsoft-sql-server/927352-how-start-dts-job.html
No comments:
Post a Comment