<?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/"
	>
<channel>
	<title>Comments on: SQL SERVER - 2005 -Track Down Active Transactions Using T-SQL</title>
	<atom:link href="http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<pubDate>Wed, 07 Jan 2009 17:11:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Goms</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-43427</link>
		<dc:creator>Goms</dc:creator>
		<pubDate>Wed, 01 Oct 2008 12:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-43427</guid>
		<description>Hi pinal,

I want to trace the users activity in database.I  able to trace ddl transcation using trigger.But  when i try to track the dml
transaction using event_data() it will not work.
so how to track the users dml activity or shall i  run the sql profiler?.If yes pls give me the clear picture abt sql profiler


pls mail me on gomsbox@yahoo.com


Thanks
Goms</description>
		<content:encoded><![CDATA[<p>Hi pinal,</p>
<p>I want to trace the users activity in database.I  able to trace ddl transcation using trigger.But  when i try to track the dml<br />
transaction using event_data() it will not work.<br />
so how to track the users dml activity or shall i  run the sql profiler?.If yes pls give me the clear picture abt sql profiler</p>
<p>pls mail me on <a href="mailto:gomsbox@yahoo.com">gomsbox@yahoo.com</a></p>
<p>Thanks<br />
Goms</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pankaj</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-42985</link>
		<dc:creator>pankaj</dc:creator>
		<pubDate>Fri, 19 Sep 2008 12:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-42985</guid>
		<description>hi pinal,
           i  preparing for interview in sql server plz mail me on p.adhikari1981@gmail.com 

some   query(technical) which is asked in interview</description>
		<content:encoded><![CDATA[<p>hi pinal,<br />
           i  preparing for interview in sql server plz mail me on <a href="mailto:p.adhikari1981@gmail.com">p.adhikari1981@gmail.com</a> </p>
<p>some   query(technical) which is asked in interview</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emeka</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-40794</link>
		<dc:creator>Emeka</dc:creator>
		<pubDate>Fri, 25 Jul 2008 06:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-40794</guid>
		<description>@Virag,

With SQL Server 2000, Unfortunately no. However you can run a dbcc opentran('databasename') on 2000/05.

This will only give you the longest running transaction in that database.</description>
		<content:encoded><![CDATA[<p>@Virag,</p>
<p>With SQL Server 2000, Unfortunately no. However you can run a dbcc opentran(&#8217;databasename&#8217;) on 2000/05.</p>
<p>This will only give you the longest running transaction in that database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viraj</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-40789</link>
		<dc:creator>Viraj</dc:creator>
		<pubDate>Fri, 25 Jul 2008 04:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-40789</guid>
		<description>Dear Emeka,

Thanks 4 ur reply.
I wonder, is there any similiar type of DMV or other similiar concept in SQL 2000 !!!

Regards,
Viraj</description>
		<content:encoded><![CDATA[<p>Dear Emeka,</p>
<p>Thanks 4 ur reply.<br />
I wonder, is there any similiar type of DMV or other similiar concept in SQL 2000 !!!</p>
<p>Regards,<br />
Viraj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emeka</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-40786</link>
		<dc:creator>Emeka</dc:creator>
		<pubDate>Fri, 25 Jul 2008 00:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-40786</guid>
		<description>@Sandeep

Because it is on standby mode, the restore is not finished yet. sql server is expecting you to  
apply more backups. when when you are about to apply the last backup,
choose the RECOVERY option. This tells SQL server that the restore is finished.

IN a situation where you have only one backup file to restore, you should always choose the RECOVERY option
except when you are log shipping or mirroring database.


To solve your problem, restore the DB with the RECOVERY option.
You can then detach it and re-attach it.</description>
		<content:encoded><![CDATA[<p>@Sandeep</p>
<p>Because it is on standby mode, the restore is not finished yet. sql server is expecting you to<br />
apply more backups. when when you are about to apply the last backup,<br />
choose the RECOVERY option. This tells SQL server that the restore is finished.</p>
<p>IN a situation where you have only one backup file to restore, you should always choose the RECOVERY option<br />
except when you are log shipping or mirroring database.</p>
<p>To solve your problem, restore the DB with the RECOVERY option.<br />
You can then detach it and re-attach it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emeka</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-40785</link>
		<dc:creator>Emeka</dc:creator>
		<pubDate>Fri, 25 Jul 2008 00:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-40785</guid>
		<description>@Viraj

That piece of sql doesn't work in sql 2000. The Dynamic management view is one of the new features in SQL Server  2005 you can use to query the health of sql server 2005.

For it to work, you have to run it in SQL server 2005 environment.</description>
		<content:encoded><![CDATA[<p>@Viraj</p>
<p>That piece of sql doesn&#8217;t work in sql 2000. The Dynamic management view is one of the new features in SQL Server  2005 you can use to query the health of sql server 2005.</p>
<p>For it to work, you have to run it in SQL server 2005 environment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diablo</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-40783</link>
		<dc:creator>Diablo</dc:creator>
		<pubDate>Thu, 24 Jul 2008 22:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-40783</guid>
		<description>Very useful. Thanks.</description>
		<content:encoded><![CDATA[<p>Very useful. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamran Shahid</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-40750</link>
		<dc:creator>Kamran Shahid</dc:creator>
		<pubDate>Thu, 24 Jul 2008 11:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-40750</guid>
		<description>Nice Data Management View</description>
		<content:encoded><![CDATA[<p>Nice Data Management View</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-40742</link>
		<dc:creator>Sandeep</dc:creator>
		<pubDate>Thu, 24 Jul 2008 08:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-40742</guid>
		<description>can i attach a read only restored database. I restored a
database Test in Stand by Mode. After that i detached that database and while restoring i m getting msg "Cannot attach a database that was
being restored.". 
Is it  that i can not attach a readonly restored
detached database ?</description>
		<content:encoded><![CDATA[<p>can i attach a read only restored database. I restored a<br />
database Test in Stand by Mode. After that i detached that database and while restoring i m getting msg &#8220;Cannot attach a database that was<br />
being restored.&#8221;.<br />
Is it  that i can not attach a readonly restored<br />
detached database ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viraj</title>
		<link>http://blog.sqlauthority.com/2008/07/24/sql-server-2005-track-down-active-transactions-using-t-sql/#comment-40730</link>
		<dc:creator>Viraj</dc:creator>
		<pubDate>Thu, 24 Jul 2008 04:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=730#comment-40730</guid>
		<description>Dear Pinal,

I am using SQL 2000. I tried executing the command. 

It gave following error : 
Server: Msg 208, Level 16, State 1, Line 1
Invalid object name 'sys.dm_tran_session_transactions'.

I tried using Master and TempDB databases, but same error persisted.

Kindly suggest.

Regards,
Viraj</description>
		<content:encoded><![CDATA[<p>Dear Pinal,</p>
<p>I am using SQL 2000. I tried executing the command. </p>
<p>It gave following error :<br />
Server: Msg 208, Level 16, State 1, Line 1<br />
Invalid object name &#8217;sys.dm_tran_session_transactions&#8217;.</p>
<p>I tried using Master and TempDB databases, but same error persisted.</p>
<p>Kindly suggest.</p>
<p>Regards,<br />
Viraj</p>
]]></content:encoded>
	</item>
</channel>
</rss>
