October 12, 2010 at 2:01 pm
I've seen all sorts of postings about viewing the logs and I see the transaction and the operation definitions. Is there any way to extract the T-SQL statement that created a particular set of rows in the transaction log? I've got a failed sql statement which is about 5 minutes old that I need to track down.
Any ideas?
Don
October 12, 2010 at 2:12 pm
No. T-SQL is not stored in the log.
Tried querying the plan cache? If the query was recent, it may still be in there.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
October 12, 2010 at 2:17 pm
Sigh, sometimes I feel very far out of my depth.
I'll look into querying the plan cache, thank you.
Don
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply