右鍵點選 SQL Server Logs,指向 View,然後選擇 SQL Server Log 或 SQL Server 與 Windows Log。 展開 SQL Server 日誌,右鍵點擊任一日誌檔案,然後選擇 檢視 SQL Server 日誌。 您也可以按兩下任何記錄檔。 這些日誌包括 資料庫郵件 、 SQL Server 、 SQL Server 代理 程式以及 Windows。
您可以使用 SQL Server Management Studio 或任何文字編輯器來檢視 SQL Server 錯誤記錄檔。 如需有關如何檢視錯誤記錄檔的詳細資訊,請參閱< Open Log File Viewer >。 在 Windows 上,錯誤日誌的預設位置是 <drive>:\Program Files\Microsoft SQL Server\MSSQL.<n>\MSSQL\LOG\ERRORLOG。 在 Linux 上
Below is an image of the Log File Viewer, where you can select multiple log files by clicking the check boxes next to the desired logs. Here, you can choose from multiple log types, including SQL Server, SQL Server Agent, Database Mail, and Windows Event