top of page

Search
SQL Server Script to increase number of Errorlogs
--Below script will change the number of SQL Server errorslogs to 10 USE [master] GO EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE',...
Kunal Ranpura
Jul 28, 20191 min read
4 views
0 comments
SQL Server Agent Job to recycle error log
USE [msdb] GO /****** Object: Job [sp_cycle_errorlog] Script Date: 08/26/2014 10:44:11 ******/ BEGIN TRANSACTION DECLARE @ReturnCode...
Kunal Ranpura
Jul 28, 20191 min read
17 views
0 comments
Configure SQL Server Agent Job History
USE [msdb] GO EXEC msdb.dbo.sp_set_sqlagent_properties @jobhistory_max_rows=10000, @jobhistory_max_rows_per_job=1000
Kunal Ranpura
Jul 28, 20191 min read
8 views
0 comments
bottom of page