<?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; Find Last Date Time Updated for Any Table</title>
	<atom:link href="http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Prashant</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-249489</link>
		<dc:creator><![CDATA[Prashant]]></dc:creator>
		<pubDate>Tue, 07 Feb 2012 11:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-249489</guid>
		<description><![CDATA[Thank You Pinal]]></description>
		<content:encoded><![CDATA[<p>Thank You Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kumar</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-224283</link>
		<dc:creator><![CDATA[Kumar]]></dc:creator>
		<pubDate>Fri, 23 Dec 2011 07:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-224283</guid>
		<description><![CDATA[I need for all the databases at a time..for last update statistics]]></description>
		<content:encoded><![CDATA[<p>I need for all the databases at a time..for last update statistics</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nemanja</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-222083</link>
		<dc:creator><![CDATA[Nemanja]]></dc:creator>
		<pubDate>Tue, 20 Dec 2011 12:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-222083</guid>
		<description><![CDATA[I need now , how to get datetime informations from my last update table of Studenti?]]></description>
		<content:encoded><![CDATA[<p>I need now , how to get datetime informations from my last update table of Studenti?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankit Shah</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-208896</link>
		<dc:creator><![CDATA[Ankit Shah]]></dc:creator>
		<pubDate>Thu, 01 Dec 2011 22:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-208896</guid>
		<description><![CDATA[Hi Pinal 
  Nice useful post . But what about large amount of tables are getting updated every day? 
Do you have any script for that ?]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal<br />
  Nice useful post . But what about large amount of tables are getting updated every day?<br />
Do you have any script for that ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugh</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-208679</link>
		<dc:creator><![CDATA[Hugh]]></dc:creator>
		<pubDate>Thu, 01 Dec 2011 14:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-208679</guid>
		<description><![CDATA[Very interesting, but in some tests here I got two rows back, one had NULL and the other a real-date the index numbers were 1 (real date value) and 16 (NULL date value).

Is there a safe way to always get the most recent date if there are two or more rows returned for a table?

How about:

SELECT MAX(last_user_update) FROM sys.dm_db_index_usage_stats	WHERE database_id = ...  ?

This seems to work but I&#039;m no SQL guru !

Thanks]]></description>
		<content:encoded><![CDATA[<p>Very interesting, but in some tests here I got two rows back, one had NULL and the other a real-date the index numbers were 1 (real date value) and 16 (NULL date value).</p>
<p>Is there a safe way to always get the most recent date if there are two or more rows returned for a table?</p>
<p>How about:</p>
<p>SELECT MAX(last_user_update) FROM sys.dm_db_index_usage_stats	WHERE database_id = &#8230;  ?</p>
<p>This seems to work but I&#8217;m no SQL guru !</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Woodruff</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-191675</link>
		<dc:creator><![CDATA[Chris Woodruff]]></dc:creator>
		<pubDate>Wed, 09 Nov 2011 16:03:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-191675</guid>
		<description><![CDATA[Yes you Can - without a SQL server to connect to, SSMS won&#039;t do anything for you.
Like Madhivanan said, install SQL Express from Microsoft to practice.]]></description>
		<content:encoded><![CDATA[<p>Yes you Can &#8211; without a SQL server to connect to, SSMS won&#8217;t do anything for you.<br />
Like Madhivanan said, install SQL Express from Microsoft to practice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-188376</link>
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Fri, 04 Nov 2011 15:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-188376</guid>
		<description><![CDATA[I have a somewhat related interest: I want to find the date that an index was last altered (not when it was last accessed). For example, when analyzing a log of REORGANIZE and REBUILD activity, I will sometimes decide to alter the fillfactor of an index so it will require defragmentation less often. It would be handy to be able to find if and when that might have been done previously. (I wouldn&#039;t expect to find that specifically, but the date of the most recent alter of an index regardless of what alteration was made would still be useful.)]]></description>
		<content:encoded><![CDATA[<p>I have a somewhat related interest: I want to find the date that an index was last altered (not when it was last accessed). For example, when analyzing a log of REORGANIZE and REBUILD activity, I will sometimes decide to alter the fillfactor of an index so it will require defragmentation less often. It would be handy to be able to find if and when that might have been done previously. (I wouldn&#8217;t expect to find that specifically, but the date of the most recent alter of an index regardless of what alteration was made would still be useful.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-182950</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 24 Oct 2011 16:01:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-182950</guid>
		<description><![CDATA[Default option is what is needed in this case. Why do you want to avoid default option?]]></description>
		<content:encoded><![CDATA[<p>Default option is what is needed in this case. Why do you want to avoid default option?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srini</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-181452</link>
		<dc:creator><![CDATA[Srini]]></dc:creator>
		<pubDate>Fri, 21 Oct 2011 06:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-181452</guid>
		<description><![CDATA[Hi Pinal,

A table contains ModifedDate column, which need to be set with the server date when an update runs against that table. Can we do this with using Triggers? can we set any property for this column other than Default value property?]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>A table contains ModifedDate column, which need to be set with the server date when an update runs against that table. Can we do this with using Triggers? can we set any property for this column other than Default value property?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-168645</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 08:03:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-168645</guid>
		<description><![CDATA[You can track this in Sys.objects view.]]></description>
		<content:encoded><![CDATA[<p>You can track this in Sys.objects view.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-168639</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 07:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-168639</guid>
		<description><![CDATA[select current_date from table
where srno=your_no]]></description>
		<content:encoded><![CDATA[<p>select current_date from table<br />
where srno=your_no</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-168637</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 07:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-168637</guid>
		<description><![CDATA[There are two ways.

1 Have an update trigger on the users table and track the informations
2 Run a profile and trace the activities on that table]]></description>
		<content:encoded><![CDATA[<p>There are two ways.</p>
<p>1 Have an update trigger on the users table and track the informations<br />
2 Run a profile and trace the activities on that table</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-168635</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 07:40:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-168635</guid>
		<description><![CDATA[If you want to update it for a single row, use update statement. If you want to have it as a default value, alter the table and have default definition on that column]]></description>
		<content:encoded><![CDATA[<p>If you want to update it for a single row, use update statement. If you want to have it as a default value, alter the table and have default definition on that column</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-168629</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 07:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-168629</guid>
		<description><![CDATA[It does not matter. It records data only when the server is on]]></description>
		<content:encoded><![CDATA[<p>It does not matter. It records data only when the server is on</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-168624</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 07:29:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-168624</guid>
		<description><![CDATA[There is no way until you have run the profiler to trace the changes]]></description>
		<content:encoded><![CDATA[<p>There is no way until you have run the profiler to trace the changes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Biz</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-168552</link>
		<dc:creator><![CDATA[Biz]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 02:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-168552</guid>
		<description><![CDATA[i know that there is no direct methods to check the table changes in SQL2000. But again, checking any possibilities .. the realtionship with a table in SQL 2000 is gone, there was around 15 FK relations and all of them are gone. and not sure when and why and by whom.. 
Anyway to get that information?

thanks.]]></description>
		<content:encoded><![CDATA[<p>i know that there is no direct methods to check the table changes in SQL2000. But again, checking any possibilities .. the realtionship with a table in SQL 2000 is gone, there was around 15 FK relations and all of them are gone. and not sure when and why and by whom..<br />
Anyway to get that information?</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael BrSi</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-165974</link>
		<dc:creator><![CDATA[Michael BrSi]]></dc:creator>
		<pubDate>Tue, 06 Sep 2011 12:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-165974</guid>
		<description><![CDATA[Did you ever find out what permissions are needed? I ran into the same error after migrating from 2005 to 2008.]]></description>
		<content:encoded><![CDATA[<p>Did you ever find out what permissions are needed? I ran into the same error after migrating from 2005 to 2008.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shabi</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-163339</link>
		<dc:creator><![CDATA[shabi]]></dc:creator>
		<pubDate>Mon, 29 Aug 2011 22:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-163339</guid>
		<description><![CDATA[well done!@]]></description>
		<content:encoded><![CDATA[<p>well done!@</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: calin oprea</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-163199</link>
		<dc:creator><![CDATA[calin oprea]]></dc:creator>
		<pubDate>Mon, 29 Aug 2011 11:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-163199</guid>
		<description><![CDATA[It means that you have very limited permissions on that server; most likely, a production server, on which you have read-only permissions for some tables. Yes, there is a possibility: encapsulate it in a stored procedure, and get permissions to run that stored procedure. I&#039;m sure a SQL developer can help you.]]></description>
		<content:encoded><![CDATA[<p>It means that you have very limited permissions on that server; most likely, a production server, on which you have read-only permissions for some tables. Yes, there is a possibility: encapsulate it in a stored procedure, and get permissions to run that stored procedure. I&#8217;m sure a SQL developer can help you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahul</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-161813</link>
		<dc:creator><![CDATA[rahul]]></dc:creator>
		<pubDate>Thu, 25 Aug 2011 13:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-161813</guid>
		<description><![CDATA[select * from sys.dm_db_index_usage_stats

the user does not have permission to perform this action.

Is there any alternative to this ?]]></description>
		<content:encoded><![CDATA[<p>select * from sys.dm_db_index_usage_stats</p>
<p>the user does not have permission to perform this action.</p>
<p>Is there any alternative to this ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harshada</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-158641</link>
		<dc:creator><![CDATA[Harshada]]></dc:creator>
		<pubDate>Thu, 18 Aug 2011 02:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-158641</guid>
		<description><![CDATA[This will work if you have not restared your PC right? My case is one database is on server and one is on my PC. PC i will start and shutdown everyday. Then i can not get correct info on my PC. Is there a way to get last updated date on my PC?]]></description>
		<content:encoded><![CDATA[<p>This will work if you have not restared your PC right? My case is one database is on server and one is on my PC. PC i will start and shutdown everyday. Then i can not get correct info on my PC. Is there a way to get last updated date on my PC?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sabahmed</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-150981</link>
		<dc:creator><![CDATA[sabahmed]]></dc:creator>
		<pubDate>Wed, 27 Jul 2011 06:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-150981</guid>
		<description><![CDATA[i want to discuss a prb related to sql server. I have read your articles and they really help me out.



I have a table called as data table. I want to save a value(time stamp) in this table. now this is a single value i.e 7/25/2011 7:32:41 but it will be repeated equivalent to no of rows in table.....is there any method through which i can save this value in any stored procedure provided that stored procedure is associated with table too....]]></description>
		<content:encoded><![CDATA[<p>i want to discuss a prb related to sql server. I have read your articles and they really help me out.</p>
<p>I have a table called as data table. I want to save a value(time stamp) in this table. now this is a single value i.e 7/25/2011 7:32:41 but it will be repeated equivalent to no of rows in table&#8230;..is there any method through which i can save this value in any stored procedure provided that stored procedure is associated with table too&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Khalid</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-137540</link>
		<dc:creator><![CDATA[Khalid]]></dc:creator>
		<pubDate>Mon, 30 May 2011 06:46:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-137540</guid>
		<description><![CDATA[Someone from my team update passwords of my users table.
How can i find that Update Query executed on which date and from where.

Bad thing, i have already updated one row today.]]></description>
		<content:encoded><![CDATA[<p>Someone from my team update passwords of my users table.<br />
How can i find that Update Query executed on which date and from where.</p>
<p>Bad thing, i have already updated one row today.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayesh G</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-136992</link>
		<dc:creator><![CDATA[Jayesh G]]></dc:creator>
		<pubDate>Fri, 27 May 2011 06:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-136992</guid>
		<description><![CDATA[Hi Pinal,

What is the best process of migration of Database one sql server 2005 to other sql server 2005. in migration we require all login and password are same, all users and password are same in other sql server 2005 installation. please let me step by step process.

i am waiting ur answer.

Regards,
Jayesh G]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>What is the best process of migration of Database one sql server 2005 to other sql server 2005. in migration we require all login and password are same, all users and password are same in other sql server 2005 installation. please let me step by step process.</p>
<p>i am waiting ur answer.</p>
<p>Regards,<br />
Jayesh G</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://blog.sqlauthority.com/2009/05/09/sql-server-find-last-date-time-updated-for-any-table/#comment-132499</link>
		<dc:creator><![CDATA[Sandeep]]></dc:creator>
		<pubDate>Mon, 02 May 2011 10:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4940#comment-132499</guid>
		<description><![CDATA[Hi sir,

I have one problem , how to find current date record  according to Srno Column like 1,2,3...

srno  DisplayName  CreatedDate
 1         cvxbdfb         currentdate

like this..]]></description>
		<content:encoded><![CDATA[<p>Hi sir,</p>
<p>I have one problem , how to find current date record  according to Srno Column like 1,2,3&#8230;</p>
<p>srno  DisplayName  CreatedDate<br />
 1         cvxbdfb         currentdate</p>
<p>like this..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

