0
Where I work there are some procedures in the database (SQL Server 2008) that take hours to run and return large amounts of information that are always copied to a spreadsheet and sent to the end user.
There are even some desktop applications that can run them but this is not very practical;
Processed example:
Is there any way to automate these reports through a web application?
It would be perfect if there were some way for the user to fire the procedure and let him run through the web so that at another time he could re-enter the site and pick up the report.
I know a little bit about Asp.net, but I have no idea if you can do that...
Currently reports are left running on the user’s machine through a desktop application that generates an Excel file or through SQL Server Management Studio itself where whoever is giving the support connects to the database...
Let the procedure run on the server
And when it finishes running, copies the result to an Excel spreadsheet and sends it to the requested user.
But several of these procedures are time consuming and so I would like you to have a way to let the user do this for a web application.
Any idea?
Responding, there is.
– Leonel Sanches da Silva
@Romaniomorrisonmendez What kind of web application can support 1 hour of procedure execution without giving timeout?
– Cleber Teixeira
1h of procedure execution is nonsense. Why it is so extensive?
– Leonel Sanches da Silva
@Ciganomorrisonmendez I do not know why it is so long. But this is not even the slowest. There are others that take longer...
– Cleber Teixeira
What the web application can do is trigger another remote procedure that produces this mass of data, but not that it will wait for the end of this execution.
– Leonel Sanches da Silva
@It would be perfect if there was some way to fire the procedure and let it run so that at another time the user could enter pick up the report.
– Cleber Teixeira
Well, then edit your question and put exactly that. Also try to specify which platform you would like this to be developed. If you have no idea of a platform, make it clear in your question.
– Leonel Sanches da Silva
Thanks @Ciganomorrisonmendez I just changed
– Cleber Teixeira
This already improves some things. Now I need you to edit your question again and explain to us how these procedures are activated today. This part is essential so that I can write a reasonable answer.
– Leonel Sanches da Silva
OK @Gypsy Rrisonmendez I just changed
– Cleber Teixeira