标签:ima nvarchar esc ati sel 产品 mail htm cell
DECLARE @emailBody NVARCHAR(MAX);N‘</tbody></table>‘;
SELECT @emailBody = REPLACE(REPLACE(@emailBody,
‘<‘, ‘<‘),
‘>‘, ‘>‘);
select @emailBody
select c.ITEM_CODE,b.ITEM_DESCRIPTION,b.ITEM_SPECIFICATION,b.UDF021,b.PRICE_QTY, b.REMARK from SALES_RETURN a
left join SALES_RETURN_D b ON a.SALES_RETURN_ID = b.SALES_RETURN_ID
left join ITEM c ON b.ITEM_ID = c.ITEM_BUSINESS_ID
where DOC_NO = ‘2700-201809250001‘
标签:ima nvarchar esc ati sel 产品 mail htm cell
原文地址:http://blog.51cto.com/13885809/2285780