October 2002
Beginner
1032 pages
23h 5m
English
The following section lists some commonly asked questions and answers about SQL Server 2000 troubleshooting.
| Q1: | I have heard that an open transaction can block a user from a table because of an exclusive lock and prevent the transaction log from truncating completely. How can I check SQL Server for an open transaction? |
| A1: | An open transaction can be a problem when a user is running an extremely long process that starts one large transaction, thus locking users out of the system until the transaction is committed or rolled back. Or someone has issued a Begin Transaction statement by issuing a COMMIT or ROLLBACK. To find an open transaction, use the DBCC command with OPENTRAN. The syntax is as follows:
DBCC OPENTRAN [('database_name' ... |
Read now
Unlock full access