Search results
22 lip 2024 · Learn about the SQL Server error log, which contains user-defined events and certain system events you can use for troubleshooting.
3 mar 2023 · Get help detecting problems in SQL Server by viewing the current error log, or backups of previous logs, to check whether processes have finished successfully.
23 sie 2024 · Learn about three different ways to access and read the SQL Server error logs and SQL Agent error logs when monitoring and managing SQL Server.
You can read the contents of the SQL Server or SQL Server Agent error log file and filter on keywords by using sp_read_errorlog. For example, you can find log messages in the current SQL Server error log that indicate a database is starting up by running the following command: EXEC sp_readerrorlog 0, 1, 'database', 'start' More information. For ...
29 kwi 2015 · In SQL Server Management Studio, open SQL Server Properties > Security > Login Auditing select "Both failed and successful logins". Make sure to restart the SQL Server service. Once you've done that, connection attempts should be logged into SQL's error log .
8 paź 2021 · Method 1: Using the xp_readerrorlog extended procedure. The current logs are the latest error log file, and you can use them to view recent activity since SQL Server starts or manual log file recycling. SQL Server error log is a text file stored in the log directory of SQL Server instance.
7 sty 2021 · In this tip we look at how to parse the SQL Server error log to only extract the errors and corresponding error messages.