Solved

Email sql query results as CSV

Posted on 2008-10-02
3
879 Views
Last Modified: 2012-05-05
I have a straightforward sql select query and I would like to send the reults by email once an hour or so, with the data in a csv - is that easy enough to do or do I need some third party software?
0
Comment
Question by:Lapchien
  • 2
3 Comments
 
LVL 25

Expert Comment

by:jogos
ID: 22622236
In SQL*Server there is a tool for that SSIS   Sql*Server integration services
0
 
LVL 25

Accepted Solution

by:
jogos earned 400 total points
ID: 22622282
A little more explanation (this link is about DTS for SQL2000, which is replaced by SSIS in SQL2005)
http://support.microsoft.com/kb/319951
0
 
LVL 3

Assisted Solution

by:abhijit_k
abhijit_k earned 100 total points
ID: 22632613
U can use SQL Database Mail Setup and configure to send mail. xp_sendmail PRoc can be used for the same.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now