日期:2014-05-17 浏览次数:20746 次
EXEC msdb.dbo.sp_send_dbmail
@recipients = 'xxx@163.com',
@body = @tableHTML,
@subject = @title,
@body_format='html',
@file_attachments = @Path
-- @tableHTML 请使用nvarchar(max)类型数据
------解决方案--------------------
附件文件怎么产生的?
先在服务器上打开看是否正常.
------解决方案--------------------
bcp命令有个-C参数: code page specifier