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

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 E-Mail Concept

Author  Topic 

sanjay5219
Posting Yak Master

240 Posts

Posted - 2009-12-21 : 12:43:50
Dear All,

Is there any way to send an email to outlook.

I have to send this report every week and i want to automate this through SQL

Select Dept_Name,count(*) as Total_Manpower from Employee_Master
group by Dept_Name

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-12-21 : 13:45:04
You can use either SQL Mail or Database Mail, depending upon the version of SQL Server you are using.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

svicky9
Posting Yak Master

232 Posts

Posted - 2009-12-21 : 15:58:21
http://msdn.microsoft.com/en-us/library/ms190307.aspx

http://www.sqlserver007.com
Go to Top of Page
   

- Advertisement -