I am trying to achieve this kind of formatted data from my select statement and have it send via database mail in SQL SERVER 2000. I know how to do this in SQL 2008.
Column1 | Column 2
------------------
Value 1 | Value 2
Value 1 | Value 2
Value 1 | Value 2
I have realized that this can not be done. To achieve this I created .bat file and stored procedures and sendmail utility.
First call this in your .bat file
and then call