Solved

How to find a query in the SQL transaction log?

Posted on 2010-08-16
6
311 Views
Last Modified: 2012-05-10
I'm using MS SQL 2000 Server. A few weeks ago I ran a fairly complex query against the database. Unfortunately I didn't save this query, now I need to run this same report. Is it possible for me to find this query in the sql transaction history logs? Can I do a search for part of my query to find it?
0
Comment
Question by:greddin
6 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 500 total points
ID: 33449114
No, not possible.
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 33449262
Hate to say this but you cannot
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 33449263
Hate to say this but you cannot
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 33449304
make that 3 to say: sorry ...
0
 
LVL 60

Expert Comment

by:chapmandew
ID: 33449314
Also, SELECT statements will never be in the tran log...only DML statements, such as INSERT, UPDATE, DELETE...and then only if you're in FULL recovery model.
0
 

Author Closing Comment

by:greddin
ID: 33449400
Since you responded first, I'll give you the points. Thanks everyone.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question