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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 sysmessages

Author  Topic 

Amber_Robertsona
Starting Member

4 Posts

Posted - 2007-05-11 : 06:33:18
I would like to write a SQL stored procedure, to be used on a DBA dashboard website, showing errors that have happened on current system day. I have found that errors displayed in the SQL Server Logs are stored in sysmessages table but I cannot find a column showing date/time. Does anybody have any ideas where I can get the date/time of either when the error happened or when the error was written to the SQL Server Logs?

Any suggestions much appreciated.


Kind Regards

Amber


Amber

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-05-11 : 10:01:29
Sysmessages just holds all system messages definded on the server, should search sql server log or windows event logs to see when the logged error happened.
Go to Top of Page

Amber_Robertsona
Starting Member

4 Posts

Posted - 2007-05-11 : 10:03:19
Thank you for the suggestion. Does the data shown in SQL Server Logs in the Enterprise manager stored in a table within the database as well?

Any suggestions appreciated.

Kind Regards
Amber

Amber
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-05-11 : 10:13:46
No, it's text file.
Go to Top of Page

pootle_flump

1064 Posts

Posted - 2007-05-14 : 08:35:35
Duped at dbf
http://www.dbforums.com/showthread.php?t=1618177
Go to Top of Page
   

- Advertisement -