Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 is it possible to find which transactions made

Author  Topic 

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2008-07-02 : 08:29:43
Dear All,
in my database, for a particular time of 4 hours, some columns data became null. ofcource that is a nullable column, how can i found in that particular time which procedures or which queries executed?

the data base is in full recovery mode.

please guide me in this regard

Arnav
Even you learn 1%, Learn it with 100% confidence.

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-07-02 : 08:33:43
I think you can find with default trace:

Select * from ::fn_trace_getinfo(NULL)
--find Trace file location/status/name

select * from ::fn_trace_gettable('FileName',default)
--find the results of the trace.
Go to Top of Page

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2008-07-02 : 08:47:56
thank you sodeep,
but how can i find which transactions were made in that 4 hours?......

Arnav
Even you learn 1%, Learn it with 100% confidence.
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-07-02 : 10:11:25
Look at StartTime column
Go to Top of Page

maninder
Posting Yak Master

100 Posts

Posted - 2008-07-02 : 13:02:01
DBCC LOG(DBNAME,3)
Give you the Transaction Log info, if you havent yet Truncated the Log or Backed up the Database

Maninder
Go to Top of Page

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2008-07-03 : 01:35:27
i've taken the log backup just before seeing the message. can i have any option?

Arnav
Even you learn 1%, Learn it with 100% confidence.
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-07-04 : 21:24:18
Need third party log read tool like Lumigent's Log Explorer.
Go to Top of Page
   

- Advertisement -