![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
IF (OBJECT_ID('#tmpDBCC04') IS NOT NULL)
DROP TABLE #tmpDBCC04
GO
CREATE TABLE #tmpDBCC04
(
CurrentLSN Varchar(200),
Operation Varchar (200),
Context Varchar (200),
TransactionID Varchar (200),
LogBlockGeneration Varchar (200),
TagBits Varchar (200),
LogRecordFixedLength Varchar (200),
LogRecordLength Varchar (200),
PreviousLSN Varchar (200),
FlagBits Varchar (200),
LogReserve Varchar (200),
Description Varchar (500),
RecordData Varchar (8000)
)
GO
INSERT INTO #tmpDBCC04 EXEC ('DBCC LOG(database, 4)')