<?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; 2005 &#8211; Last Ran Query &#8211; Recently Ran Query</title>
	<atom:link href="http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Satish Mishra</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-424814</link>
		<dc:creator><![CDATA[Satish Mishra]]></dc:creator>
		<pubDate>Thu, 21 Feb 2013 02:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-424814</guid>
		<description><![CDATA[What if our SQL server gets rebooted?]]></description>
		<content:encoded><![CDATA[<p>What if our SQL server gets rebooted?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-421320</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 13 Feb 2013 10:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-421320</guid>
		<description><![CDATA[If you used transaction, use rollback]]></description>
		<content:encoded><![CDATA[<p>If you used transaction, use rollback</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shyam</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-418480</link>
		<dc:creator><![CDATA[Shyam]]></dc:creator>
		<pubDate>Wed, 06 Feb 2013 07:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-418480</guid>
		<description><![CDATA[In SQL Server how to undo last executed query ?]]></description>
		<content:encoded><![CDATA[<p>In SQL Server how to undo last executed query ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #010 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-403893</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #010 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 05 Jan 2013 01:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-403893</guid>
		<description><![CDATA[[...] Last Ran Query – Recently Ran Query [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Last Ran Query – Recently Ran Query [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Labinash</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-373395</link>
		<dc:creator><![CDATA[Labinash]]></dc:creator>
		<pubDate>Tue, 13 Nov 2012 08:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-373395</guid>
		<description><![CDATA[SELECT *
FROM SystemConfig_Ctl AS D
    CROSS APPLY dbo.Split(D.SysValue,&#039;,&#039;) AS ST


What goes wring in this query

Thanks 
Labinash]]></description>
		<content:encoded><![CDATA[<p>SELECT *<br />
FROM SystemConfig_Ctl AS D<br />
    CROSS APPLY dbo.Split(D.SysValue,&#8217;,') AS ST</p>
<p>What goes wring in this query</p>
<p>Thanks<br />
Labinash</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Choudhary</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-343601</link>
		<dc:creator><![CDATA[Amit Choudhary]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 11:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-343601</guid>
		<description><![CDATA[See again there will Sql Management studio]]></description>
		<content:encoded><![CDATA[<p>See again there will Sql Management studio</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaiju CK</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-341761</link>
		<dc:creator><![CDATA[Shaiju CK]]></dc:creator>
		<pubDate>Fri, 07 Sep 2012 12:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-341761</guid>
		<description><![CDATA[Pinal, Thanks for this query. 

Is it possible to get more than one day&#039;s data for the same. By this query I am getting today&#039;s data. Old executed queries are not coming in the recordset. Is there any way to get it?

Thanks,
Shaiju CK]]></description>
		<content:encoded><![CDATA[<p>Pinal, Thanks for this query. </p>
<p>Is it possible to get more than one day&#8217;s data for the same. By this query I am getting today&#8217;s data. Old executed queries are not coming in the recordset. Is there any way to get it?</p>
<p>Thanks,<br />
Shaiju CK</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Anthony</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-309532</link>
		<dc:creator><![CDATA[Mark Anthony]]></dc:creator>
		<pubDate>Thu, 05 Jul 2012 07:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-309532</guid>
		<description><![CDATA[Good day, sir.

I have created a query that makes use of CROSS APPLY. I was able to successfully create it. My problem is that when I tried to integrate it to Delphi dataset, it&#039;s giving me an error when I try to activate the dataset. It seems that Delphi doesn&#039;t want CROSS APPLY because when I try to remove the CROSS APPLY from my SQL code and run it again, it does not give any error at all. By the way, I&#039;m using Delphi 7.

I hope to read enlightenment. Thank you.]]></description>
		<content:encoded><![CDATA[<p>Good day, sir.</p>
<p>I have created a query that makes use of CROSS APPLY. I was able to successfully create it. My problem is that when I tried to integrate it to Delphi dataset, it&#8217;s giving me an error when I try to activate the dataset. It seems that Delphi doesn&#8217;t want CROSS APPLY because when I try to remove the CROSS APPLY from my SQL code and run it again, it does not give any error at all. By the way, I&#8217;m using Delphi 7.</p>
<p>I hope to read enlightenment. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deividi</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-292420</link>
		<dc:creator><![CDATA[Deividi]]></dc:creator>
		<pubDate>Fri, 01 Jun 2012 17:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-292420</guid>
		<description><![CDATA[Freaking genious buddy.
You sir saved my bacon :)]]></description>
		<content:encoded><![CDATA[<p>Freaking genious buddy.<br />
You sir saved my bacon :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh bhimradia</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-271919</link>
		<dc:creator><![CDATA[Rajesh bhimradia]]></dc:creator>
		<pubDate>Wed, 04 Apr 2012 13:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-271919</guid>
		<description><![CDATA[hello...
I have executed a query yesterday, but i don&#039;t know which query i have ran. So, can you tell me where could i got the ran query log in sql server 2008.]]></description>
		<content:encoded><![CDATA[<p>hello&#8230;<br />
I have executed a query yesterday, but i don&#8217;t know which query i have ran. So, can you tell me where could i got the ran query log in sql server 2008.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Annada Prasad Nanda</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-253798</link>
		<dc:creator><![CDATA[Annada Prasad Nanda]]></dc:creator>
		<pubDate>Sat, 18 Feb 2012 09:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-253798</guid>
		<description><![CDATA[I want all records  after today.what is the particular query]]></description>
		<content:encoded><![CDATA[<p>I want all records  after today.what is the particular query</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JMAX()</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-252593</link>
		<dc:creator><![CDATA[JMAX()]]></dc:creator>
		<pubDate>Tue, 14 Feb 2012 22:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-252593</guid>
		<description><![CDATA[This query was a life saver thanks]]></description>
		<content:encoded><![CDATA[<p>This query was a life saver thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: g2-902125243db7d5e697a20ae0137565ac</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-249617</link>
		<dc:creator><![CDATA[g2-902125243db7d5e697a20ae0137565ac]]></dc:creator>
		<pubDate>Tue, 07 Feb 2012 17:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-249617</guid>
		<description><![CDATA[Hello,
I run the query but the run I did yesterday is not showing ... it was run within the &quot;New Query&quot; box interactively... anyway to trace it? to see if it was successfull?
Thanks,
Dom]]></description>
		<content:encoded><![CDATA[<p>Hello,<br />
I run the query but the run I did yesterday is not showing &#8230; it was run within the &#8220;New Query&#8221; box interactively&#8230; anyway to trace it? to see if it was successfull?<br />
Thanks,<br />
Dom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishal</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-173127</link>
		<dc:creator><![CDATA[Vishal]]></dc:creator>
		<pubDate>Thu, 29 Sep 2011 07:17:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-173127</guid>
		<description><![CDATA[Hello Pinal,

I want to track store procedure and its executed time by trigger.
When the store procedure is executed by application it should insert the store procedure name and its execution time in one table.

Reply soon...]]></description>
		<content:encoded><![CDATA[<p>Hello Pinal,</p>
<p>I want to track store procedure and its executed time by trigger.<br />
When the store procedure is executed by application it should insert the store procedure name and its execution time in one table.</p>
<p>Reply soon&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shankar</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-166441</link>
		<dc:creator><![CDATA[shankar]]></dc:creator>
		<pubDate>Thu, 08 Sep 2011 06:23:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-166441</guid>
		<description><![CDATA[sir i worked in oracale 9i.In tha all query all dispalying in smae window but in microsoft sql it cnt.what to do? 
first time i am working in microsoft sql thats way sir. if i want to display all previous query in  same window what to do ?]]></description>
		<content:encoded><![CDATA[<p>sir i worked in oracale 9i.In tha all query all dispalying in smae window but in microsoft sql it cnt.what to do?<br />
first time i am working in microsoft sql thats way sir. if i want to display all previous query in  same window what to do ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AnilJayanti</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-160462</link>
		<dc:creator><![CDATA[AnilJayanti]]></dc:creator>
		<pubDate>Mon, 22 Aug 2011 05:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-160462</guid>
		<description><![CDATA[Hi All,

I wrote and tested one complex query 2 days back.  today suddenly my system got restarted due to technical issue. So, Now any idea to get my previous complex query... Please help...

AnilJayanti]]></description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I wrote and tested one complex query 2 days back.  today suddenly my system got restarted due to technical issue. So, Now any idea to get my previous complex query&#8230; Please help&#8230;</p>
<p>AnilJayanti</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suba</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-151588</link>
		<dc:creator><![CDATA[suba]]></dc:creator>
		<pubDate>Fri, 29 Jul 2011 13:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-151588</guid>
		<description><![CDATA[Is is possible to get this as Database category ????????]]></description>
		<content:encoded><![CDATA[<p>Is is possible to get this as Database category ????????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Purush otta ma</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-150754</link>
		<dc:creator><![CDATA[Purush otta ma]]></dc:creator>
		<pubDate>Tue, 26 Jul 2011 08:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-150754</guid>
		<description><![CDATA[**********Go for this it will update last ran query with username*********

SELECT c.session_id, s.host_name, s.login_name, s.status
, st.text, s.login_time, s.program_name, *
FROM sys.dm_exec_connections c
INNER JOIN sys.dm_exec_sessions s ON c.session_id = s.session_id
CROSS APPLY sys.dm_exec_sql_text(most_recent_sql_handle) AS st
ORDER BY c.session_id]]></description>
		<content:encoded><![CDATA[<p>**********Go for this it will update last ran query with username*********</p>
<p>SELECT c.session_id, s.host_name, s.login_name, s.status<br />
, st.text, s.login_time, s.program_name, *<br />
FROM sys.dm_exec_connections c<br />
INNER JOIN sys.dm_exec_sessions s ON c.session_id = s.session_id<br />
CROSS APPLY sys.dm_exec_sql_text(most_recent_sql_handle) AS st<br />
ORDER BY c.session_id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: basava</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-136899</link>
		<dc:creator><![CDATA[basava]]></dc:creator>
		<pubDate>Thu, 26 May 2011 14:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-136899</guid>
		<description><![CDATA[Hi All,

I need some information about SQL SERVER &quot;DINALI&quot; and differences Btn 2008 &amp; 2011

Regards,
Basava]]></description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I need some information about SQL SERVER &#8220;DINALI&#8221; and differences Btn 2008 &amp; 2011</p>
<p>Regards,<br />
Basava</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: basava</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-136404</link>
		<dc:creator><![CDATA[basava]]></dc:creator>
		<pubDate>Tue, 24 May 2011 13:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-136404</guid>
		<description><![CDATA[how to verify last query executed in query analyser]]></description>
		<content:encoded><![CDATA[<p>how to verify last query executed in query analyser</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: preeti jaiswal</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-130590</link>
		<dc:creator><![CDATA[preeti jaiswal]]></dc:creator>
		<pubDate>Fri, 22 Apr 2011 21:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-130590</guid>
		<description><![CDATA[how we use sql server2005? where we write query and run it because there is no query analyzer option……. plz tell me the whole process stepwise]]></description>
		<content:encoded><![CDATA[<p>how we use sql server2005? where we write query and run it because there is no query analyzer option……. plz tell me the whole process stepwise</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: preeti jaiswal</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-130589</link>
		<dc:creator><![CDATA[preeti jaiswal]]></dc:creator>
		<pubDate>Fri, 22 Apr 2011 21:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-130589</guid>
		<description><![CDATA[how we use sql server2005? where we write query and run it because there is no query analyzer option....... plz tell me the whole process stepwise]]></description>
		<content:encoded><![CDATA[<p>how we use sql server2005? where we write query and run it because there is no query analyzer option&#8230;&#8230;. plz tell me the whole process stepwise</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Inder</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-126466</link>
		<dc:creator><![CDATA[Inder]]></dc:creator>
		<pubDate>Mon, 04 Apr 2011 07:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-126466</guid>
		<description><![CDATA[Hi 
I need to insert last executed query with user but user will come via UI(.net code). Please let me know how can I manage?
Rrds,
Inder]]></description>
		<content:encoded><![CDATA[<p>Hi<br />
I need to insert last executed query with user but user will come via UI(.net code). Please let me know how can I manage?<br />
Rrds,<br />
Inder</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doron</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-124754</link>
		<dc:creator><![CDATA[Doron]]></dc:creator>
		<pubDate>Thu, 24 Mar 2011 04:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-124754</guid>
		<description><![CDATA[Dave,

Thank you for the tip about the last ran queries. How ever, how can I view only USERS activity ?? not the system activity or the SQL Agent activity ?

I know that SQL Server Profiler can do the job but I would like to know the code behind...

Thanks !

Doron]]></description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>Thank you for the tip about the last ran queries. How ever, how can I view only USERS activity ?? not the system activity or the SQL Agent activity ?</p>
<p>I know that SQL Server Profiler can do the job but I would like to know the code behind&#8230;</p>
<p>Thanks !</p>
<p>Doron</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-118642</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 15 Feb 2011 15:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/01/03/sql-server-2005-last-ran-query-recently-ran-query/#comment-118642</guid>
		<description><![CDATA[SQL Server help file has code example for cross aplly. Refer it]]></description>
		<content:encoded><![CDATA[<p>SQL Server help file has code example for cross aplly. Refer it</p>
]]></content:encoded>
	</item>
</channel>
</rss>
