Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Administration
»
Last database access
Last database access
Rate Topic
Display Mode
Topic Options
Author
Message
Paritosh-412771
Paritosh-412771
Posted Tuesday, February 09, 2010 6:42 AM
Forum Newbie
Group: General Forum Members
Last Login: Today @ 1:48 AM
Points: 5,
Visits: 154
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...
Post #862385
Bru Medishetty
Bru Medishetty
Posted Tuesday, February 09, 2010 7:20 AM
SSCommitted
Group: General Forum Members
Last Login: Monday, February 11, 2013 8:27 AM
Points: 1,735,
Visits: 1,947
By last accessed do you mean last modified or just reading it?
Bru Medishetty
Blog --
LearnSQLWithBru
Join on Facebook Page
Facebook.com\LearnSQLWithBru
Twitter --
BruMedishetty
Post #862417
ALZDBA
ALZDBA
Posted Tuesday, February 09, 2010 7:58 AM
SSCertifiable
Group: General Forum Members
Last Login: Monday, June 17, 2013 2:13 PM
Points: 6,866,
Visits: 8,071
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
Jul 13
Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere
-
How to post Performance Problems
-
How to post data/code to get the best help
-
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
Post #862450
Bru Medishetty
Bru Medishetty
Posted Tuesday, February 09, 2010 8:08 AM
SSCommitted
Group: General Forum Members
Last Login: Monday, February 11, 2013 8:27 AM
Points: 1,735,
Visits: 1,947
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..
Bru Medishetty
Blog --
LearnSQLWithBru
Join on Facebook Page
Facebook.com\LearnSQLWithBru
Twitter --
BruMedishetty
Post #862457
ALZDBA
ALZDBA
Posted Tuesday, February 09, 2010 12:11 PM
SSCertifiable
Group: General Forum Members
Last Login: Monday, June 17, 2013 2:13 PM
Points: 6,866,
Visits: 8,071
If they doubt it the db is still in use ??? So far for performance
Johan
Jul 13
Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere
-
How to post Performance Problems
-
How to post data/code to get the best help
-
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
Post #862654
Paritosh-412771
Paritosh-412771
Posted Wednesday, February 10, 2010 7:04 AM
Forum Newbie
Group: General Forum Members
Last Login: Today @ 1:48 AM
Points: 5,
Visits: 154
we want to find when was this database was last used or modified.
Post #863201
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.