에러 [스크랩] Reading the SQL Server log files using TSQL One of the issues I have is that the SQL Server Error Log is quite large and it is not always easy to view the contents with the Log File Viewer. In a previous tip "Simple way to find errors in SQL Server error log" you discussed a method of searching the error log using VBScript. Are there any other easy ways to search and find errors in the error log files? SQL Server 2005 offers an undocument.. 운영/기타 2014. 3. 6. SQL Server Log 보기(xp_readerrorlog) DBMS에서 ErrorLog를 읽고자 할때 사용합니다. Log를 조회 할때 필터조건을 사용하여 사용자가 보고자 하는 Errorlog 만 검색할 수 있습니다. 1. xp_readerrorlog 사용하기 SQL Serber Logs 정보를 쿼리로 볼 수 있습니다. exec xp_readerrorlog 0 - 위의 숫자는 파일의 INDEX를 나타내며, 위에서 보는 current 가 0, Achive #1이 1번 ~ Archive #6이 6번을 나타냅니다. 2. xp_readerrorlog 의 파라미터 정보 exec xp_readerrorlog 0 - 첫번째 파라미터는 파일의 INDEX를 나타냅니다. - 두번째 파라미터는 1은 SQL Log, 2는 Agent Log를 나타냅니다. exec xp_readerror.. 운영/기타 2013. 12. 1. 이전 1 다음