sp_send_dbmail resulting Excel attachment to include merged cells

48 views Asked by At

My need is to output the query result of a stored procedure as an Excel attachment to a selected audience using sp_send_dbmail. while I am able to achieve this I prefer to have few headers merged similar to the screenshot below. Is this possible using sp_send_dbmail? If not what is the work around for this? My dataset is too long to be included as an email body.

Please click here to see the image

0

There are 0 answers