Reputation: 1
Is it possible to see what queries have been run in an uncommitted transaction?
I tried Sp_who2 but I want to see the full query of the uncommitted trans.
Upvotes: 0
Views: 36
Reputation: 88851
Is it possible to see what queries have been run in an uncommitted transaction?
No. You can see the locks that are still held by the session, which will give you some indication. But without a Trace/XEvent you can't see all the queries.
Upvotes: 1