talk to adobe.
here is what i would consider not that i know how to do all of this.
have sql dump the results of a query to a csv
open the csv in excel
run a macro in excell to convert the spreadsheet into a pdf
this requires you have some knowledge of vba
and that you have adobe acrobat professional installed wherever you are doing the conversion.