Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Help Need

Author  Topic 

Kannan_JrDBA
Starting Member

4 Posts

Posted - 2008-04-25 : 10:24:16
Sir,

I am new to this forum. I need a help. I want to transfer all the SQL Agent job to another server. For this i wanted to do thru Stored procedures. Why? Every day my office people will create a new job depends on their businnes. The Same job should be on another server too.

Any help wolud be much appriciated

Thank you sir
kannan kumar

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-04-25 : 11:24:37
you can do with Transfer Job Task in SSIS.
Go to Top of Page

Kannan_JrDBA
Starting Member

4 Posts

Posted - 2008-04-25 : 11:32:18
Sodeep, Thanks for your reply. I can do thru SSIS. But i should do thru only stored procedures not SSIS. I already did the job with SSIS. But everyday I have to alter my SSIS pacakges. So I need a dynamic process with SP.

Thanks
kannan kumar
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-04-25 : 11:45:40
Then you have to extract new jobs from Msdb..sysjobs.
Go to Top of Page

Kannan_JrDBA
Starting Member

4 Posts

Posted - 2008-04-25 : 11:59:01
Okay!! Can you help me to write a store procedure to extract the job details from Sysobjects..

Thanks
Kannan
Go to Top of Page
   

- Advertisement -