<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Interesting Observation of DMV of Active Transactions and DMV of Current Transactions</title>
	<atom:link href="http://blog.sqlauthority.com/2009/04/11/sql-server-interesting-observation-of-dmv-of-active-transactions-and-dmv-of-current-transactions/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2009/04/11/sql-server-interesting-observation-of-dmv-of-active-transactions-and-dmv-of-current-transactions/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 09 Feb 2012 19:36:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Rajiv Singh</title>
		<link>http://blog.sqlauthority.com/2009/04/11/sql-server-interesting-observation-of-dmv-of-active-transactions-and-dmv-of-current-transactions/#comment-55287</link>
		<dc:creator><![CDATA[Rajiv Singh]]></dc:creator>
		<pubDate>Thu, 27 Aug 2009 07:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4285#comment-55287</guid>
		<description><![CDATA[Hi Pinal,

The things are common, because if you run both the DMVs between BEGIN TRANSACTION and END TRANSACTION then its follow the ACID property. So it will forward the same Transaction ID. But you run both DMVs as separatly then it will execute separatly. And also it will generate two different Transaction ID as you specs in your image.

With Regards,
Rajiv Singh]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>The things are common, because if you run both the DMVs between BEGIN TRANSACTION and END TRANSACTION then its follow the ACID property. So it will forward the same Transaction ID. But you run both DMVs as separatly then it will execute separatly. And also it will generate two different Transaction ID as you specs in your image.</p>
<p>With Regards,<br />
Rajiv Singh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JP</title>
		<link>http://blog.sqlauthority.com/2009/04/11/sql-server-interesting-observation-of-dmv-of-active-transactions-and-dmv-of-current-transactions/#comment-51073</link>
		<dc:creator><![CDATA[JP]]></dc:creator>
		<pubDate>Fri, 17 Apr 2009 09:09:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4285#comment-51073</guid>
		<description><![CDATA[I am not following the logic behind your statements.  When you run the first DMVs as separate transactions, the transaction IDs your are seeing in the result set reflect the transaction IDs of each independent transaction.  Based on your comment as to what each DMV&#039;s results represent, in the first table we see the tranID of the active transaction and in the second table we see the current transaction ID of the session.

When the second DMVs are run as an explicit transaction, we see what we expect.  The current tranID and the active tranID are the same because the explicit in this instance is both the current and the active transaction.

I don&#039;t understand why this would be a &quot;riveting observation&quot;.  Isn&#039;t this the manner we would expect our transactions to operate?  Are you requesting a scenario in which we are specifically querying the Active and Current transaction information (transaction IDs) as implicit and explicit transactions?  If that is the case, I don&#039;t think there would be many useful scenarios, but I am not familiar with those DMVs.]]></description>
		<content:encoded><![CDATA[<p>I am not following the logic behind your statements.  When you run the first DMVs as separate transactions, the transaction IDs your are seeing in the result set reflect the transaction IDs of each independent transaction.  Based on your comment as to what each DMV&#8217;s results represent, in the first table we see the tranID of the active transaction and in the second table we see the current transaction ID of the session.</p>
<p>When the second DMVs are run as an explicit transaction, we see what we expect.  The current tranID and the active tranID are the same because the explicit in this instance is both the current and the active transaction.</p>
<p>I don&#8217;t understand why this would be a &#8220;riveting observation&#8221;.  Isn&#8217;t this the manner we would expect our transactions to operate?  Are you requesting a scenario in which we are specifically querying the Active and Current transaction information (transaction IDs) as implicit and explicit transactions?  If that is the case, I don&#8217;t think there would be many useful scenarios, but I am not familiar with those DMVs.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

