Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MDF and LDF date stamp
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 6.5 and older
Application:
Web
Miscellaneous
Thread ID:
01582688
Message ID:
01582698
Views:
29
>>>>I installed (attached) SQL Server database to the customer SQL server last year (in December). I know they use the application (VFP9) and have added tons of records to various tables since then. Yet when I go the Command Prompt where I placed the .MDF and .LDF files, the date stamp on them is still December 2012. How could it be?
>>>
>>>To test the theory if the files are really the one that are used, try moving these files to another place. If you get 'File Access is denied' message, then these files are used. Otherwise there is a copy of these files somewhere else.
>>
>>I won't try to copy the files (don't want to mess with them). I will ask the DBA for the explanation. Thank you.
>
>The alternative solution is to find out the actual file path of the files used.
>
>Check this blog post
>
>http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/MSSQLServerAdmin/how-to-move-datafiles-to-a-new-drive-in
>
>
>
>SELECT name, physical_name AS CurrentLocation, state_desc
>
>FROM sys.master_files
>
>WHERE database_id = DB_ID(N'MyDbName');
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform