SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Does transaction log contain data or commands
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

United Kingdom
180 Posts

Posted - 07/25/2014 :  10:18:37  Show Profile  Reply with Quote
Hi all,

What does the transaction log actually contain?

Is it each individual data row that is inserted/modified?

Or the command that modified the data?

I'm guessing it's the former


Posting Yak Master

249 Posts

Posted - 07/25/2014 :  10:34:19  Show Profile  Reply with Quote
It contains information about everything done in your db for rollback and roll forward purposes

-- take a look
FROM fn_dblog (null, null);

-- some good links
Go to Top of Page

Flowing Fount of Yak Knowledge

United Kingdom
2158 Posts

Posted - 07/26/2014 :  03:04:39  Show Profile  Visit jackv's Homepage  Reply with Quote
According to SQL Server BOL;supplied the SQL Server Books Online :
1) The start and end of each transaction
2) Every data modification (insert, update, or delete). This includes changes by system stored procedures or data definition language (DDL) statements to any table, including system tables.
3) Every extent and page allocation or deallocation.
4) Creating or dropping a table or index
5) Rollback operations
6) Transaction SID

Also , check:

Jack Vamvas
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000