Home Forums SQL Server 2014 Development - SQL Server 2014 sp_send_dbmail truncates when attaching query results. RE: sp_send_dbmail truncates when attaching query results.
Russ-314258
SSC Enthusiast
Points: 134
More actions
October 16, 2014 at 5:07 pm
#1753005
Since the xpstar.dll suggestion didn't work for me, I had to find another workaround. I used xp_cmdshell and bcp to save the query results to a file, then used sp_send_dbmail to attach the file. Same end result, but a two step process.