Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Getting absolute sequence number

$
0
0

In profiler there's an EventSequence field, but apparently it's an artifact of profiler and not available to a transaction.

Is there any kind of absolute sequence number for transactions available to reference in TSQL?

Maybe the last LSN that my session generated?  Or do I have to read the log and match to a SPID or something to even try to get that?

Thanks

Josh


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>