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 2000 Forums
 SQL Server Administration (2000)
 Scripting jobs in one go

Author  Topic 

sinceresiva
Starting Member

1 Post

Posted - 2006-12-15 : 09:20:32
We have our production server containing 20 jobs created through SQL Server Agent. How can I script them all in one step and install them on another server?

Any help is appreciated..

Siva

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2006-12-15 : 09:34:01
If you are using SQL Server 2000:
Connect to source server in Enterprise manager.
Expand Management
Expand SQL Server Agent
Right click on Jobs
Select All Tasks, Generate SQL Script...
Select desired options from the dialog box.



CODO ERGO SUM
Go to Top of Page

JoeNak
Constraint Violating Yak Guru

292 Posts

Posted - 2006-12-15 : 09:34:32
Create a DTS and use the Transfer Job task.
Go to Top of Page
   

- Advertisement -