Hello,
there's an article at
www.west-wind.com in the White Papter Section
called "Running long Web Requests with Asynchronous Request Processing"
don't get confused by the name, it's not only for Web Requests .. you could
take this approach with local SQL also i think.
Regards
Christian