--Objective : To Write a given string on to a given file
--Created by: Helen
--Date : Jan 4, 2005
--Execution : SELECT * FROM DBO.Ufn_WriteToFile('D:\Testing\dbcc.TXT','Hello world')
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.