Wow, a 7 minute query, thats really long.
Are you accessing the DB via a webservice? If so, you also need to set the web service timout to 0. But i suggest you look into creating a database view to help speed up the transaction.
Or you could consider perfoming the transaction in multiple calls, possibly using paging
|