SQL Server : scheduling programmatically -
I stored SQL Server need a process I am trying to force you to call every hour.
I have read the following articles:
They are very big and very straight forward Are not there.
Is it the following SQL code to my work that could confirm correct:
USE msdb; Go EXEC dbo.sp_add_job @job_name = Extract N'ExecUldCSIIMportData '; Get EXEC sp_add_jobstep @job_name = N'Exec RemoveOldCsvImportData ', @step_name = N'execute stored procedure', @subsystem = N'TSQL ', @command = N'exec RemoveOldCsvImportData', @retry_attempts = 5, @retry_interval = 5; Go access Dboksp_aed_schedule @schedule_nam = N'runonke, @frenk_taip = 4, @frenk_intrvl = 1, @frenk_subday_taip = 0x8, @frenk_subday_intrvl = 1, @aktiv_start_taim = 233,000; USE MSDB; Go access Sp_attac_schedule @job_nam = N'akses Removeoldaksvimportdta, @schedule_nam = N'runonke; Go EXEC dbo.sp_add_jobserver @job_name = Remove N'ExecOldCSIIMportData '; GO
My suggestions may be to make it work through script wizards And then use it for your script to create a job like you're trying to do is a mysterious process. You will eventually get it, but if this is a shot, the magician path will save you a lot of time. .
Comments
Post a Comment