Configure SQL Server Agent XPs
To Enable Agent XPs sp_configure ‘show advanced options’, 1; GO RECONFIGURE; GO sp_configure ‘Agent XPs’, 1; GO RECONFIGURE GO To disable Agent XPs sp_configure ‘show advanced options’, 0; GO...
View ArticleEnable xp_cmdshell using sp_configure
—- To allow advanced options to be changed. EXEC sp_configure ‘show advanced options’, 1 GO —- To update the currently configured value for advanced options. RECONFIGURE GO —- To enable the feature....
View ArticleChange The Server Collation after installation
After you finish installation for SQL server may be you want to change the Server collation or database Collation so leat’s see what will we do if we want to make this : 1- if you want to know what’s...
View ArticleOle Automation Procedures to delete file from PC
if you want to write Script to delete file from your pc by SQL Server must be Configure your SQL server to allow this option : exec sp_configure ‘Ole Automation Procedures’, 1 go reconfigure go Filed...
View ArticleUsing DBCC UPDATEUSAGE to correct inaccuracies(Copy from another blog)
The DBCC command can be run on a database to correct inaccuracies of all objects in that database or you can also correct the inaccuracies of a single table by including that table name. If you would...
View ArticleConfiguring SQL Server Surface Area before using OPENROWSET
–Configuring SQL Server Surface Area before using OPENROWSET USE [master] GO sp_configure ‘show advanced options’,1 GO reconfigure withoverride GO sp_configure ‘Ad Hoc Distributed Queries’,1 GO...
View Articlesp_configure to set the value of the backup_compression_default setting
This Feature in SQL Server 2008 , 2012 USE master Go EXEC sys.sp_configure N’backup compression default’, N’1’ GO RECONFIGURE WITH OVERRIDE GOFiled under: Configuration, Configuration
View ArticleDedicated Administrator Connection [DAC] in SQL Server
Introduction DAC [Dedicated Administrator Connection ] is feature added from SQL Server 2005 version . Database administrator use this fetaure to connect to a SQL Server instance When the database...
View ArticleDisable or Enable Trace File by T-SQL
T0 Disable or Enable Trace File 0 = Disable , 1 = Enable EXEC master.dbo.sp_configure ‘allow updates’, 1; GO EXEC master.dbo.sp_configure ‘show advanced options’, 0; *********************** Change...
View ArticleImprove SQL Server Performance with Compression
SQL Server data compression is now available in all editions of SQL Server, starting with 2016 SP1. In this Article, you will not only know how data compression will save space, you’ll also find out...
View Article