Is there any way to send the results of a query executed within a stored
procedure to the default windows printer, or even to a text file? (I
thinking of something similar to Oracle's DBMS_OUTPUT, or UTL_FILE
commands.)?
I want the query to run unattended, but send the results directly to the
printer.