Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restore from .BAK file
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Copies de sauvegarde
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01591308
Message ID:
01591338
Vues:
54
See http://www.nigelrivett.net/SQLAdmin/s_RestoreDatabase.html

>
>In order to write a script that would restore all databases from a certain folder - without hard-coding each database name - I would need to scan all files with extension *.BAK. How can I create a cursor and scan all files from a folder into the cursor (using T-SQL)?
>Or is there a better way to approach the task?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform