Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

List Databases modified Database between two dates in SQL 2008

$
0
0

I am trying to get the list of databases modified between 2 dates in SQL server 2008. I tried this query,


Text
select * from sys.objects
where  modify_date between '2015-12-01' and GETDATE()

but ‘modify_date ‘ column in said query, changes only when design of table is changed. If data is inserted to the table it will not be covered. I have checked the ‘Default trace’ option in SQL, it is ON (set to 1) for the databases.

Is there any method to list the databases which are modified between 2 particular dates?

Thank you in advance.


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>