When you use the sp_send_dbmail
stored procedure to email the results of a query, the column headers are included by default.
You can include or exclude the column headers with the @query_result_header
argument. To remove the column headers, use @query_result_header = 0
.