How do I call a stored procedure from a web service method without having to wait for the stored procedure to finish, and just let the method finish all other activities?
As an example (not actual situation but much simpler to understand): I have a table houses with 10 million rows, and each year I have to calculate what each house is worth based on soil, constructions, etc.
Before the year ends, I feed new parameters of soil and constructions, and then let the database calculate each house's worth (with a stored procedure called from a web service method), but it may take hours. In this same method, I want to be able to tell the system that I have started calculating (after it starts, not before).
So here How would I avoid a time out, and let my web app to continue doing other things.
thank you.