Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Script Library
 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 ->

- Lumbago

My blog->
Go to Top of Page
  Previous Topic Topic Next 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.06 seconds. Powered By: Snitz Forums 2000