您可以使用无证件DBCC LOG(databasename, typeofoutput)其中typeofoutput:0: Return only the minimum of information for each operation -- the operation, its context and the transaction ID. (Default)1: As 0, but also retrieve any flags and the log record length.2: As 1, but also retrieve the object name, index name, page ID and slot ID.3: Full informational dump of each operation.4: As 3 but includes a hex dump of the current transaction log row.例如,DBCC LOG(数据库,1)您也可以尝试fn_dblog。为了使用事务日志回滚事务,我将看一下使用事务日志的 Stack Overflow 回滚事务。