Database Mail

Send email in a tabular format using SQL Server database mail

  • Article

Some of our SQL Servers contain tables with summarized data (summarized on a weekly / monthly / quarterly basis). Previously this data was emailed as a flat file attachment to the recipients. I was asked to convert this in such a way that the email itself contains the table data. This way the recipients would be able to look at the data in a tabular format, making it easier for readability. Hence we arrived at the question of how to send email from SQL Server with data in a tabular format.

2011-04-12

5,799 reads

Blogs

T-SQL Tuesday #129 – Let’s Build a Time Capsule

By

It is time for another T-SQL Tuesday! Thank you Tamera Clark (t|b) for hosting...

Daily Coping 11 Aug 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Why a 60GB Database Backup Grew to 1TB in Size

By

Recently, I was alerted to a network file share that was running low on...

Read the latest Blogs

Forums

COPY Activity Failing

By SSCNewbee

Hi All I am copying from DLS to SQLMI and my COPY activity is...

multiplied columns from Oracle linked server

By cphite

  Wasn't sure exactly where to put this one... We populate an Oracle data...

Job that runs slow how to use more CPU

By sqlfriend

We have a web application job that runs from web calling to update database...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

The D in ACID

See possible answers