Tag: Error Log

  • DBA Scripts: Get Recent Error Log Entries

    Part of the DBA-Tools Project. The SQL Server error log records almost everything worth knowing about an instance’s recent health, and almost nobody reads it until they’re already troubleshooting something. It’s not that the information isn’t there, it’s that xp_readerrorlog returns thousands of lines dominated by routine noise, every successful backup, every log backup, every…

  • DBA Scripts: Get Schema Change History

    Part of the DBA-Tools Project. “What Changed on This Server Recently?” That question comes up after almost every unexpected behavior change: a query that used to work now errors, a report that used to return data now doesn’t, a job that used to succeed now fails. Before chasing the symptom, it’s worth answering the more…