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
 General SQL Server Forums
 New to SQL Server Programming
 Help creating sql agent job

Author  Topic 

themar42
Starting Member

8 Posts

Posted - 2012-12-04 : 12:09:52
Need to create a job that copies a file into a particual directory, then sends a email stating that the copy was successful. I need the email to contain the name of the file it copied.

thanks!

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2012-12-04 : 12:37:38
look for xcopy....sp_senddbmail
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-12-06 : 01:23:47
if you've SSIS, you can also use File System Task and Send Mail Task for this.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -