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

 All Forums
 General SQL Server Forums
 Script Library
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

United Kingdom
3 Posts

Posted - 01/31/2011 :  04:32:34  Show Profile  Reply with Quote
Hi all

I have a set of query and i need to automatate that in regular intervals to avoid manual work.I need to do the below tasks.Any help would be highly appreciated.

1.Need to run automatically and store that output in particular folder?
2.Need to send an email if there is an error in completing the script.How to Set this mail process in a query?

Norsk Yak Master

3271 Posts

Posted - 01/31/2011 :  05:26:56  Show Profile  Reply with Quote
First of all: please don't use the Script Library forum for general questions. This forum is limited to working t-sql scripts only.

Secondly, you can do all this with SQL Server Agent -> http://msdn.microsoft.com/en-us/library/ms189237.aspx

- Lumbago

My blog-> www.thefirstsql.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.03 seconds. Powered By: Snitz Forums 2000