Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving files
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Divers
Thread ID:
01300829
Message ID:
01300838
Vues:
11
>Hi All, is it possible to copy or move files from within a sp ?, e.g. if I have a collection of files in \\myserver\myfolder , can I move or copy them to \\myserver\myotherfolder ?

You can use xp_cmdshell system sproc. See http://www.nigelrivett.net/SQLAdmin/s_CopyLatestBackup.html, for example.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform