February 9, 2010 at 6:42 am
Hi All,
There has been new assingment that has come up by the client to find the list of the database that was last accessed in sql server 2000.
As far as I know there is NO way to find this out, apart from just verifying through windows explorer. THe last modified date option.
have any one has a solution on this..
Help will Appreciated...
Thanks in advance...
Regards
Paritosh...
February 9, 2010 at 7:21 am
By last accessed do you mean last modified or just reading it?
Blog -- LearnSQLWithBru
Join on Facebook Page Facebook.comLearnSQLWithBru
Twitter -- BruMedishetty
February 9, 2010 at 7:58 am
If this is to figure out if a db is still being used, just alter your db option "AUTO_CLOSE" to ON.
This way, you will find a "database opened" message in your sqlserver errorlog file
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
February 9, 2010 at 8:08 am
ALZDBA (2/9/2010)
If this is to figure out if a db is still being used, just alter your db option "AUTO_CLOSE" to ON.This way, you will find a "database opened" message in your sqlserver errorlog file
I would be better looking at the active sessions through Activity Monitor rather than setting that option. Since it would have an impact on the Performance..
Blog -- LearnSQLWithBru
Join on Facebook Page Facebook.comLearnSQLWithBru
Twitter -- BruMedishetty
February 9, 2010 at 12:11 pm
If they doubt it the db is still in use ??? So far for performance 😉
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
February 10, 2010 at 7:04 am
we want to find when was this database was last used or modified.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply