sp_readerrorlog will show you the current error log for the server as a resultset.
The error log's not stored in a table so there's no direct query. It's a file (called ERRORLOG) in the file system.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass