Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
magray2
Starting Member
4 Posts |
Posted - 2007-03-13 : 15:24:23
|
Maybe a 'dumb' question, but I can't figure it out. I can't tell from the logs since they are periodically truncated, so how can I tell when the system was last restarted? I would like to know the period of time that a dmv has been updating a particular view.Your help is most appreciated.-- M |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-03-13 : 15:28:23
|
This question was asked not long ago.Try searching for SYSPROCESSES.Peter LarssonHelsingborg, Sweden |
 |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
|
magray2
Starting Member
4 Posts |
Posted - 2007-03-13 : 15:42:41
|
Thanks! |
 |
|
sphadke
Yak Posting Veteran
55 Posts |
Posted - 2007-03-13 : 23:40:42
|
look at the create date for the tempDB database. that should give you an idea :)here is the query for a sql 2005 instanceSELECT [Name] , CrDate as DateServerRebooted from sys.sysdatabasesWHERE dbid = 2Sachin |
 |
|
|
|
|