October 20, 2016 at 8:01 am
What if I create a transaction on the table and leave it uncommitted, will this cause a timeout in the script when trying to connect? If so, will this only lock up the table, not the entire database?
October 20, 2016 at 8:05 am
ram302 (10/20/2016)
What if I create a transaction on the table and leave it uncommitted, will this cause a timeout in the script when trying to connect?
No. That'll just leave a lock on the table. You might end up getting a command timeout when running queries against that table from an app, but not a connection timeout (timeout connecting to the DB)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 2 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply