Please start any new threads on our new site at http://forums.sqlteam.com. 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
 
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
 tools sql query, auto schedule+ auto save txt file
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

usafelix
Posting Yak Master

Hong Kong
165 Posts

Posted - 08/28/2014 :  22:47:28  Show Profile  Reply with Quote
Anyone can give idea in market , Have any software tools can run the query and auto direct output txt or excel file , with auto schedule auto this query result into excel or text file send to email ?

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 08/29/2014 :  02:38:03  Show Profile  Visit jackv's Homepage  Reply with Quote
If it's a scheduled query , the steps you requires can be completed using SQL Server Agent and DBMail.

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 08/29/2014 :  02:38:06  Show Profile  Visit jackv's Homepage  Reply with Quote
If it's a scheduled query , the steps you requires can be completed using SQL Server Agent and DBMail.

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

usafelix
Posting Yak Master

Hong Kong
165 Posts

Posted - 08/29/2014 :  02:49:25  Show Profile  Reply with Quote
SQL Server agent can run the sql query but the result cannot auto save in text file ? I want to direct run the sql query then output file with use dbmail send out it.
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 08/29/2014 :  09:53:26  Show Profile  Visit jackv's Homepage  Reply with Quote
Check this post , in the 'query attachments' section near the end , which outlines how to execute a query and attach it as a file to the email.
http://www.sqlserver-dba.com/2011/01/set-up-database-mail-on-sql-server-2005.html

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
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