Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

How to view transaction log for SQL Server 2005 Expand / Collapse
Author
Message
Posted Monday, April 7, 2008 10:12 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 20, 2013 3:01 AM
Points: 6, Visits: 30
I need to view last 7 days transaction on a database in MS SQL Server 2005. Can anyone pls help me how to view the same ?
Post #481288
Posted Tuesday, April 8, 2008 9:16 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 3:11 PM
Points: 31,368, Visits: 15,837
If you have the log (or log backups), you can download Log Rescue from Red Gate and use that.






Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #481663
Posted Tuesday, April 8, 2008 7:16 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 20, 2013 3:01 AM
Points: 6, Visits: 30
Hi ,

Thanks for your reply. But Log rescue works only with MS SQL Server 2000. I need to retrieve transaction log from SQL Server 2005. Can you help in this ?
Post #481964
Posted Tuesday, April 8, 2008 7:42 PM


Keeper of the Duck

Keeper of the Duck

Group: Moderators
Last Login: Friday, November 14, 2014 7:14 AM
Points: 6,625, Visits: 1,876
Apex SQL Log is compatible with SQL Server 2005:

http://www.apexsql.com/sql_tools_log.asp


K. Brian Kelley, CISA, MCSE, Security+, MVP - SQL Server
Regular Columnist (Security), SQLServerCentral.com
Author of Introduction to SQL Server: Basic Skills for Any SQL Server User
| Professional Development blog | Technical Blog | LinkedIn | Twitter
Post #481970
Posted Tuesday, April 8, 2008 8:05 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 20, 2013 3:01 AM
Points: 6, Visits: 30
Hi Brian,

Thanks for the reply. I already tried with ApexSQL. Free copy can result in limited number of rows only. Its too costly for us to buy bcoz Its just for one time use only. Can you pls refer me any free software or any SQL commands to do this process. Thanks
Post #481978
Posted Wednesday, April 9, 2008 7:20 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 3:11 PM
Points: 31,368, Visits: 15,837
There are no free log readers for 2005. It's a lot of investment for someone to decode the log and write the software.

There's no good way to do this in 2005 without buying the software.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #482290
Posted Wednesday, April 9, 2008 8:52 AM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Monday, December 15, 2014 12:03 PM
Points: 4,064, Visits: 5,372
And, while you'd like to think that you'll only need a log reader once, it's pretty cheap insurance. If you need it this time, you'll probably need it again.

Greg
Post #482409
Posted Friday, October 3, 2008 12:08 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, November 23, 2010 11:36 PM
Points: 305, Visits: 888
toad for sql server has a log reader. (I haven't tried that part of it yet).

my boss is getting me to trial it presently.

You can download it at http://www.quest.com/toad-for-sql-server/software-downloads.aspx
Post #580074
Posted Friday, October 3, 2008 4:44 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 1:14 PM
Points: 40,615, Visits: 37,081
You can read the transaction log raw if you like. It's not easy to understand though. Also it will only have up to the last log backup (in full recovery) or checkpoint (in simple recovery)

SELECT * FROM master.dbo.fn_dblog(null, null)

What's the purpose behind this request?



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #580165
Posted Wednesday, August 12, 2009 6:14 AM


SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, June 14, 2011 3:01 AM
Points: 95, Visits: 308
Hi Guys,

Similar problem here, I need to find out if the database logs will indicate that a database has been recovered and I need to show the log as proof to business.

Will the db log contain that info? And how do I read it?

Regards,
William


----------------------------------------------------------------------------------------------
Struggling to find the question?
http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspx
Post #769234
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse