PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.db.ms-sqlserver > Need a script to recreate scheduled jobs
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Need a script to recreate scheduled jobs

Réponse
 
LinkBack Outils de la discussion
Vieux 30/06/2008, 20h13   #1
traceable1
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Need a script to recreate scheduled jobs


I created a new database instance, but I forgot to script out the
scheduled jobs before I wiped out the original database instance. I
have attached the original msdb database as msdb_old onto the new
instance, but I need a script to pull out the require information from
sysjobs, etc. to recreate the jobs.

Please !

Thanks,
trace
  Réponse avec citation
Vieux 01/07/2008, 00h08   #2
Erland Sommarskog
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Need a script to recreate scheduled jobs

traceable1 (thhamlin@gmail.com) writes:
> I created a new database instance, but I forgot to script out the
> scheduled jobs before I wiped out the original database instance. I
> have attached the original msdb database as msdb_old onto the new
> instance, but I need a script to pull out the require information from
> sysjobs, etc. to recreate the jobs.


Why not install another instance somewhere, and stick in your old msdb
into that instance, and then script from there?

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h21.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07074 seconds with 10 queries