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,
Thanks,