Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transaction lock timeout settings

Status
Not open for further replies.

jcalli

MIS
Feb 10, 2005
7
US
I am building a stored procedure that needs to access and update several SQL Server tables simultaneously. Is there a way to set the timeout on the lock to rollback the transaction after 30 sec's? The problem is that I'm locking data elements in several tables simultaneously and I need for either all to commit or all to rollback and I need to put a time limit on the timeout if there is a problem.

Thanks,

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top