This works, however code is creating a live temp_1 table in the database instead of using a #temp_1 temporary table because is just would not work.
The next idea I had was to use a unique table name per connection for temp_1, but I would really rather use temporary tables.
I am hoping some SQL guru's can suggest some improvements to this script.
Creating a PDF from a Stored Procedure in SQL Server
A short but interesting article, the author has figured out a way to create a PDF from a stored procedure without using a third party library.
2019-09-20 (first published: 2003-08-26)
73,133 reads