Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 T-SQL 编写一个发送邮件的存储过程。我希望为这些电子邮件添加附件。我有一个 html 字符串,我想将其转换为 pdf 并附加到我的电子邮件中。
我正在使用 selectPDF 将我的 html 转换为 pdf。
这一切都可以在sql中完成还是我必须编写一个应用程序来创建pdf文档?
过去我在 iTextSharp 上运气不错。 iTextSharp 项目
您将查看围绕它的包装 CLR 函数,但是可以做到。
作为旁注,您还可以设计一个 SSRS 报告并将其自动化......