dbTalk Databases Forums  

Query a Sql Server LOG (LDF) File

microsoft.public.sqlserver.server microsoft.public.sqlserver.server


Discuss Query a Sql Server LOG (LDF) File in the microsoft.public.sqlserver.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
salim_belim@hargreaveslansdown.co.uk
 
Posts: n/a

Default Query a Sql Server LOG (LDF) File - 10-16-2003 , 11:04 AM






Hello guys,

Actually i was thinking is there any way to query the LDF ( sqlserver transaction log file) to get the operations performed during that time span?

Hope we can do it!

Regards
Salim



************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...

Reply With Quote
  #2  
Old   
Jacco Schalkwijk
 
Posts: n/a

Default Re: Query a Sql Server LOG (LDF) File - 10-16-2003 , 11:23 AM






Get LogExplorer from www.lumigent.com , it's the only way AFAIK.

--
Jacco Schalkwijk
SQL Server MVP


"Salim" <salim_belim (AT) hargreaveslansdown (DOT) co.uk> wrote

Quote:
Hello guys,

Actually i was thinking is there any way to query the LDF ( sqlserver
transaction log file) to get the operations performed during that time span?

Hope we can do it!

Regards
Salim



************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...




Reply With Quote
  #3  
Old   
Kristofer Gafvert
 
Posts: n/a

Default Re: Query a Sql Server LOG (LDF) File - 10-18-2003 , 11:34 AM



Hi,

You can use this undocumented command:

DBCC log ( {dbid|dbname } [, { -1 | 0 | 1 | 2 | 3 | 4}] )

For example:

DBCC log ('pubs', 2)

I'm sure that you can find more information about this if you search on
google, i don't have the information about what each number means right now.

--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - FAQ & Tutorials for Windows Server 2003, and SQL
Server 2000
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.

Problems with spam and viruses? See
http://www.ilopia.com/security/newsposting.aspx


"Salim" <salim_belim (AT) hargreaveslansdown (DOT) co.uk> wrote

Quote:
Hello guys,

Actually i was thinking is there any way to query the LDF ( sqlserver
transaction log file) to get the operations performed during that time span?

Hope we can do it!

Regards
Salim



************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.