Retrieve the name of the current database for use with bcp and other procedures that require database name.
This will help increase the portability of code and less maintenance required when migrating code to new database/server.
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,117 reads