G
Guest
I'm not sure if this is the correct forum or not, but I have a basic
question. Currently we have are doing calculations via stored procedures and
then returning the results back to the client in either a web page or a
winForm style application. There are times that the stored procedure takes 20
minutes or 3 hours to run. Now, our database person says that all the
calculations needs to be removed from SQL and put in either the web
applications code or the winForms code (based on what is calling it) the db
person also states that SQL is not intended to do any kind of math
(calculations) and they should all be done in the application. I think the
calcs should be done on the db and its going to take 20 mins to 3 hours for
these things to run no matter where the calcs are happening.
So, my question is: Where should the math(calculations) take place? In the
Stored Procedure or the application side?
question. Currently we have are doing calculations via stored procedures and
then returning the results back to the client in either a web page or a
winForm style application. There are times that the stored procedure takes 20
minutes or 3 hours to run. Now, our database person says that all the
calculations needs to be removed from SQL and put in either the web
applications code or the winForms code (based on what is calling it) the db
person also states that SQL is not intended to do any kind of math
(calculations) and they should all be done in the application. I think the
calcs should be done on the db and its going to take 20 mins to 3 hours for
these things to run no matter where the calcs are happening.
So, my question is: Where should the math(calculations) take place? In the
Stored Procedure or the application side?