Transactin question...


Author
Message
StarkMike
StarkMike
Advanced StrataFrame User (544 reputation)Advanced StrataFrame User (544 reputation)Advanced StrataFrame User (544 reputation)Advanced StrataFrame User (544 reputation)Advanced StrataFrame User (544 reputation)Advanced StrataFrame User (544 reputation)Advanced StrataFrame User (544 reputation)Advanced StrataFrame User (544 reputation)Advanced StrataFrame User (544 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I'm using transactions in .NET and i was wondering if there was a way to see when one was opened or started. Is there a SQL Server program or a .NET utility to watch the server and see when a transaction is started, etc.



Just curious.
StrataFrame Team
S
StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
I think there is a performance counter that you can hook into SQL Server to watch the number of transactions... when it increments, you'll know a new one was started.  But other than that, I don't think there is an event or anything within SQL Server that will tell you when a new transaction is started.
StrataFrame Team
S
StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Just do a google or msdn2.microsoft.com search for "performance counter sql server transactions" (without the quotes) and I'm sure you'll find something.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search