you should have no problems using xp_cmdshell but keep in mind that you should not grant users who do not have admin privileges to use this extended procedure. Using and having such privileges allows you do execute any (DOS) command on your servers OS.
EXEC xp_cmdshell 'copy c:\sqldumps\pubs.dmp \\server2\backups\sqldumps',
NO_OUTPUT
You may also want to check out BCP
Jaime E. Maccou
Applications Analyst
|