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.
| 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 regardArnavEven 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/nameselect * from ::fn_trace_gettable('FileName',default)--find the results of the trace. |
 |
|
|
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?......ArnavEven you learn 1%, Learn it with 100% confidence. |
 |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-07-02 : 10:11:25
|
| Look at StartTime column |
 |
|
|
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 DatabaseManinder |
 |
|
|
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?ArnavEven you learn 1%, Learn it with 100% confidence. |
 |
|
|
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. |
 |
|
|
|
|
|