|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, April 03, 2013 7:30 AM
Points: 14,
Visits: 239
|
|
how to find sql server database file create and alter date and time please help us
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 3:06 AM
Points: 42,
Visits: 285
|
|
Hello,
Not sure if you can get the info for files added/ altered alreadt but to track the changes in future, you need to configire DDL triggers to capture this information.
Check the below link for more info...
http://www.mssqltips.com/sqlservertip/2085/sql-server-ddl-triggers-to-track-all-database-changes/
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: 2 days ago @ 5:04 AM
Points: 323,
Visits: 966
|
|
to get file create date
xp_cmdshell 'dir <your Datafile Path> /tc'
or right click on data file at physical location and check create time
----------------------------------------------------------------------------- संकेत कोकणे
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 3:06 AM
Points: 42,
Visits: 285
|
|
sanket kokane (12/4/2012)
to get file create date xp_cmdshell 'dir <your Datafile Path> /tc' or right click on data file at physical location and check create time
Wonderful. :) Sometimes we need to think simple :)
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, April 03, 2013 7:30 AM
Points: 14,
Visits: 239
|
|
Thanks a lot.
it is really helpfull
|
|
|
|