BUG: DBCC OPENTRAN Reports Incorrect Database NameID: Q171944
|
If you execute DBCC OPENTRAN against a database, the first line, which identifies the name of the database, reports an incorrect database name. However, the results show the correct open transaction information for the database specified in the DBCC statement.
The sp_renamedb procedure had previously been used to rename the database.
Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
The name reported by DBCC OPENTRAN is the name of the database at the time
it was created.
For example, if you run DBCC OPENTRAN(pubsdb), you will get the following
results:
Transaction Information for database: pubs
Oldest active transaction:
SPID : 11
UID : 1
SUID : 1
Name : user_transaction
RID : (1365 , 7)
Time Stamp : 0001 0000A95F
Start Time : Jun 11 1997 10:35:57:086AM
DBCC execution completed. If DBCC printed error messages, see your System
Administrator.
Keywords : kbusage SSrvGen kbbug6.50
Version : 6.5
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 22, 1999