Quantcast
Channel: Configuration – SQL Server Consultation
Browsing all 11 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

using the SET ARITHABORT AND SET ANSI_WARNINGS

Terminates a query when an overflow or divide-by-zero error occurs during query execution. SET ARITHABORT  [ON/OFF] SET ANSI_WARN [ON/OFF] i will explain very simple example to know what is the...

View Article



Image may be NSFW.
Clik here to view.

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 Article

Image may be NSFW.
Clik here to view.

Enable 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 Article

Image may be NSFW.
Clik here to view.

Change 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 Article

Image may be NSFW.
Clik here to view.

Ole 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 Article


Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

Configuring 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 Article

Image may be NSFW.
Clik here to view.

sp_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 Article


Image may be NSFW.
Clik here to view.

Dedicated 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 Article


Image may be NSFW.
Clik here to view.

Disable 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 Article

Improve 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
Browsing all 11 articles
Browse latest View live




Latest Images