SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to find database modification time?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

grandhi
Starting Member

31 Posts

Posted - 06/19/2013 :  14:20:21  Show Profile  Reply with Quote
Hi All,

I want to know,last modification time of Database in MS Sqlserver 2012.

How can I find?

Already I checked all properties of the database,creation time is there but it's not providing last modification time.

How can I find this?

Thanks

James K
Flowing Fount of Yak Knowledge

3719 Posts

Posted - 06/19/2013 :  14:27:40  Show Profile  Reply with Quote
It depends on what you mean by database modification time. If it is data modification time (ie, new rows inserted, existing rows updated or some rows deleted), there is no reliable way unless you are auditing the changes.

If you are interested in schema changes, you can use the standard Schema Change History report. Right click on the database name, Reports -> Standard Reports -> Schema Change History.
Go to Top of Page

Lamprey
Flowing Fount of Yak Knowledge

4614 Posts

Posted - 06/19/2013 :  14:28:04  Show Profile  Reply with Quote
What kind of modification? To the DB Settings? To a DB object? To Data?
Go to Top of Page

grandhi
Starting Member

31 Posts

Posted - 06/19/2013 :  14:37:24  Show Profile  Reply with Quote
In my point of you,database modification means,If you do anything(like creating new tables,deleting tables,adding rows in tables,modifying data in tables and deleting data in table)inside DB indirectly database status(modification time) was changed.

I want to know that time.

I hope,you understand what i said.

Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000