开发者

sending automatic mail sql jobs procedure

开发者 https://www.devze.com 2023-03-01 11:36 出处:网络
i have created an sql job for sending mails daily.. i am u开发者_JS百科sing HTML table for the report to display. and everything is working fine..if the data exceeds 8000 characters my table is getti

i have created an sql job for sending mails daily.. i am u开发者_JS百科sing HTML table for the report to display. and everything is working fine..if the data exceeds 8000 characters my table is getting truncated.. i tried nvarchar(max) still the table is getting truncated..

how to solve this issue..plz help me out

can i save the result in an excel sheet and attach the same in the mail so that i can overcome the word limit problm.. could you help me out to give some sample codes to how to save the result in an excel sheet and attach the same xcel sheet...

thnx navin


Even if the target column is (max), the expression you are assigning to the column will be 8000 max. See my answer here for a worked example

0

精彩评论

暂无评论...
验证码 换一张
取 消