DECLARE @emailBody NVARCHAR(MAX);
SET @emailBody = N'<style>table{table-layout:fixed;width:1200px;border:1px solid #000000;border-collapse:collapse;font-size:12px;empty-cells:show;}'
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'
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。