c# - pull records from database without timeout

Posted by BhejaFry on Stack Overflow See other posts from Stack Overflow or by BhejaFry
Published on 2010-05-04T03:44:49Z Indexed on 2010/05/04 3:48 UTC
Read the original article Hit count: 256

Filed under:
|
|
|
|

Hi folks, i have a sql query with multiple joins & it pulls data from a database for processing. This is supposed to be running on some scheduled basis. So day 1, it might pull 500, day 2 say 400.

Now, if the service is stopped for some reason & the data not processed, then on day3 there could be as much as 1000 records to process. This is causing timeout on the sql query.

How best to handle this situation without causing timeout & gradually reducing workload to process?

TIA

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql