5

Is it possible to extend the timeout of a transaction (with SQL Server) once the transaction has started?

enashnash
  • 1,578
  • 1
  • 15
  • 36

2 Answers2

2

The timeout is "external" to SQL Server, so SQL Server can not affect it.

So "no" unfortunately

gbn
  • 422,506
  • 82
  • 585
  • 676
  • Just out of interest, in what way is it external? When I said "with SQL Server" I meant that is the database I'm using, not that the transaction needed to be extended using SQL. – enashnash Jan 23 '11 at 20:40
  • Ah, I mean that the timeout is set by the caller or msdtc, and is not known to SQL Server – gbn Jan 23 '11 at 20:59
0

I doubt it, but you could rollback and retry.

Beth
  • 9,531
  • 1
  • 24
  • 43