﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by M Ivica / Article Discussions / Article Discussions by Author  / To Create PDF from SQL stored procedure / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 09:09:03 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>please may you me send stored procedure code,how generate a pdf in stored procedure , my mail id is pardeepbachhal89@gmail.com please help, n thanks in advance</description><pubDate>Fri, 16 Mar 2012 02:35:53 GMT</pubDate><dc:creator>pardeepbachhal89</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>[quote][b]juratan (2/12/2012)[/b][hr]It is possible and works. The solution is not advanced, but stable. In our company, using SQL is generated thousands of pdf's. TSQL Procedure communicates with Webservice, who runs the Crystal Reports engine. As a result of such a solution we can achieve as a result of the SQL query the PDF &amp;#100;ocument.[/quote]Heh... not if your Websevice is down or you can't get to the Crystal Reports engine.  The OP was asking for a way to do it all from SQL Server. ;-)</description><pubDate>Sun, 12 Feb 2012 14:50:26 GMT</pubDate><dc:creator>Jeff Moden</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>It is possible and works. The solution is not advanced, but stable. In our company, using SQL is generated thousands of pdf's. TSQL Procedure communicates with Webservice, who runs the Crystal Reports engine. As a result of such a solution we can achieve as a result of the SQL query the PDF &amp;#100;ocument.</description><pubDate>Sun, 12 Feb 2012 14:10:16 GMT</pubDate><dc:creator>juratan</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>[quote][b]kurtdevotto (3/11/2011)[/b][hr]I just need when generate mi pdf file from sql server, puta image like background into the pdf. Its that possible?[/quote]no. not possible. if it's not raw text, it must be done outside of SQL server if it must be a pdf.you could generate an html document in TSQL, with links to images or embedded in an email, but not a pdf.</description><pubDate>Fri, 11 Mar 2011 09:36:02 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>I just need when generate mi pdf file from sql server, puta image like background into the pdf. Its that possible?</description><pubDate>Fri, 11 Mar 2011 08:48:43 GMT</pubDate><dc:creator>kurtdevotto</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>Then write a service or another app that process the orders and sends the pdfs.That should NOT be handled by SQL Server.</description><pubDate>Fri, 11 Mar 2011 08:36:23 GMT</pubDate><dc:creator>Ninja's_RGR'us</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>not enough information  kurt; remember we are not in your cube, looking over your shoulder, knowing what you know.a purchase order is a form with a specific layout. it's not some generic object that we know what it looks like in TSQL. where does the purchase order model reside?RTF? Word? Quicken? Quickbooks? Great Plains? doesn't your application that takes the orders have the ability to generate/print that document?</description><pubDate>Fri, 11 Mar 2011 08:35:40 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>It Should, but I dont have the code source.</description><pubDate>Fri, 11 Mar 2011 08:32:33 GMT</pubDate><dc:creator>kurtdevotto</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>That should all be handled by that app that takes the order, not a job for sql server.</description><pubDate>Fri, 11 Mar 2011 08:27:41 GMT</pubDate><dc:creator>Ninja's_RGR'us</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>Hi ThereI really need is send a PDF File with some information, I have a TRIGGER to tell me when the Purchase Order change to approved, so I make the PDF file with the name of the provider and the number, ok. Also I Should want the LOGO of my company into de PDF.</description><pubDate>Fri, 11 Mar 2011 08:22:12 GMT</pubDate><dc:creator>kurtdevotto</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>Hi</description><pubDate>Fri, 11 Mar 2011 08:16:20 GMT</pubDate><dc:creator>kurtdevotto</dc:creator></item><item><title>RE: To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>kurt your going to have to provide a lot more information, i think you need to "think outside of the box" on this one.you can create a pdf from raw text, I can post an example of that, but as soon as you want formatting/images/ anything other than raw text, you are really talking about using something (Internet explorer for html, excel,word, etc), and then converting a saved document from that medium to a pdf. it's something i've done in .NET and other languages, but it's not a one line wonder in TSQL, AFAIK.tell us your real requirement...is it a report from Reporting Services you want to pdf for example?what are you trying to do specifically?</description><pubDate>Fri, 11 Mar 2011 08:02:22 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>To Create PDF from SQL stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic1076869-126-1.aspx</link><description>HelloI Know how to create PDF file from sql stored procedure, but I want to put an image or a pic into the PDF.I hope you guys can help, Thanks.</description><pubDate>Fri, 11 Mar 2011 07:42:22 GMT</pubDate><dc:creator>kurtdevotto</dc:creator></item></channel></rss>