SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Help creating sql agent job
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

themar42
Starting Member

8 Posts

Posted - 12/04/2012 :  12:09:52  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/04/2012 :  12:37:38  Show Profile  Reply with Quote
look for xcopy....sp_senddbmail
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 12/06/2012 :  01:23:47  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000