How do I create a document on the server by running an existing storedprocedure or the sql statement of that procedure on a R2008 sql server
问题 I have an application that runs a stored procedure which generates the results of a dynamic form. the same procedure is used for many forms which would then have different columns. I want to call a stored procedure to run the existing stored procedure and dump the results to a newly created document on the server and return the path to the file. from the asp classic program side I can then generate a link for download of the report. Something like the following might have worked on the older