﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / determing when a database was last modified / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 07:50:26 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: determing when a database was last modified</title><link>http://www.sqlservercentral.com/Forums/Topic1379607-391-1.aspx</link><description>Inbuilt "Schema Changes History" report can also help</description><pubDate>Thu, 01 Nov 2012 04:36:56 GMT</pubDate><dc:creator>bjcharles</dc:creator></item><item><title>RE: determing when a database was last modified</title><link>http://www.sqlservercentral.com/Forums/Topic1379607-391-1.aspx</link><description>beautiful - thanks heaps!:-)</description><pubDate>Wed, 31 Oct 2012 23:22:56 GMT</pubDate><dc:creator>djordan 41144</dc:creator></item><item><title>RE: determing when a database was last modified</title><link>http://www.sqlservercentral.com/Forums/Topic1379607-391-1.aspx</link><description>Woul this help ?[code="sql"]USE AdventureWorks;GOSET ANSI_WARNINGS OFF;SET NOCOUNT ON;GOWITH agg AS(    SELECT         [object_id],        last_user_seek,        last_user_scan,        last_user_lookup,        last_user_update    FROM        sys.dm_db_index_usage_stats    WHERE        database_id = DB_ID())SELECT    [Schema] = OBJECT_SCHEMA_NAME([object_id]),    [Table_Or_View] = OBJECT_NAME([object_id]),    last_read = MAX(last_read),    last_write = MAX(last_write)FROM(    SELECT [object_id], last_user_seek, NULL FROM agg    UNION ALL    SELECT [object_id], last_user_scan, NULL FROM agg    UNION ALL    SELECT [object_id], last_user_lookup, NULL FROM agg    UNION ALL    SELECT [object_id], NULL, last_user_update FROM agg) AS x ([object_id], last_read, last_write)GROUP BY    OBJECT_SCHEMA_NAME([object_id]),    OBJECT_NAME([object_id])ORDER BY 1,2; [/code]</description><pubDate>Wed, 31 Oct 2012 23:17:50 GMT</pubDate><dc:creator>T_Dot_Geek</dc:creator></item><item><title>RE: determing when a database was last modified</title><link>http://www.sqlservercentral.com/Forums/Topic1379607-391-1.aspx</link><description>thanks mate - I know what a dmv is...Do you know which particular dmv will help me?</description><pubDate>Wed, 31 Oct 2012 23:08:23 GMT</pubDate><dc:creator>djordan 41144</dc:creator></item><item><title>RE: determing when a database was last modified</title><link>http://www.sqlservercentral.com/Forums/Topic1379607-391-1.aspx</link><description>Please refer :[url]http://msdn.microsoft.com/en-us/library/ms188754(v=sql.90).aspx[/url]</description><pubDate>Wed, 31 Oct 2012 23:04:19 GMT</pubDate><dc:creator>T_Dot_Geek</dc:creator></item><item><title>RE: determing when a database was last modified</title><link>http://www.sqlservercentral.com/Forums/Topic1379607-391-1.aspx</link><description>what dmv's are you referring to?</description><pubDate>Wed, 31 Oct 2012 23:00:54 GMT</pubDate><dc:creator>djordan 41144</dc:creator></item><item><title>RE: determing when a database was last modified</title><link>http://www.sqlservercentral.com/Forums/Topic1379607-391-1.aspx</link><description>•On 2008: using the new Server Auditing feature•On 2005: using Dynamic Management Views (DMV)</description><pubDate>Wed, 31 Oct 2012 22:55:55 GMT</pubDate><dc:creator>T_Dot_Geek</dc:creator></item><item><title>determing when a database was last modified</title><link>http://www.sqlservercentral.com/Forums/Topic1379607-391-1.aspx</link><description>Hi,Can you determine when a database was last modified by looking at its mdf files last modified date (i.e. on the filesystem)?If not which is the best way to determine this?</description><pubDate>Wed, 31 Oct 2012 22:10:56 GMT</pubDate><dc:creator>djordan 41144</dc:creator></item></channel></rss>