SQL Server General DBA

Table Valued Parameters in SQL Server 2008

SQL Server 2008 introduces a new feature called Table Valued Parameters. In the earlier versions of SQL Server it was not possible to pass a table variable as a parameter to a stored procedure or a function. However, in SQL Server 2008 it is now possible to pass multiple rows to SQL Server in one […]

System Databases in SQL Server

Being a SQL Server Database Administrator one needs to have a sound knowledge of System Databases in SQL Server. System databases are an integral part of the SQL Server product as it depends on the System Databases to function. Having a good knowledge of System Databases will help the Database Administrator to perform day-to-day tasks […]

Database Recovery Models in SQL Server

One of the primary responsibilities of Database Administrators is to make sure that the databases are backed up at regular intervals so that in the case of a disaster the DBA can bring the SQL Server database back online for the business to continue without much downtime. We have already discussed in detail the Importance of […]

Filtered Indexes in SQL Server 2008

SQL Server 2008 introduces a new feature called Filtered Index. A Filtered Index is an optimized form of non clustered index. It is basically useful to cover those queries which return a small percentage of data from a well defined subset of data within a table.  In the earlier versions of SQL Server, Developers and […]

Importance of Database Backups and Recovery Plan

In this fast moving world, data is the heart and soul of any enterprise. It has become an essential task for organizations around the world to protect their data. Database Administrator’s have a tough job to implement database backup and disaster recovery plans. Backing up your databases can protect an organization against the accidental loss […]

Data Compression in SQL Server 2008

SQL Server 2008 provides two types of compression namely, Database Backup Compression and Data Compression. We have already discussed the Database Backup Compression feature in my article titled How to configure and Use Database Backup Compression in SQL Server 2008. Data Compression was first introduced in SQL Server 2005 with Service Pack 2 where Microsoft […]

SQL Server 2008 MERGE Statement

SQL Server 2008 introduces the MERGE statement which will allow users to perform insert, update and delete operations in a single statement. In the earlier versions of SQL Server to achieve the same functionality the database developer or database administrator needed to write separate statements to perform the insert, update or delete of data in one […]

Obtain Exclusive Access to Restore a SQL Server Database

Database Administrators have always come across scenarios where they need to restore a copy of the latest production database to a test or development environment. This can be either a scheduled process or an adhoc request from the test or development team. The most important things that a DBA needs to do when restoring a […]

Configure Windows Firewall for SQL Server Remote Connections

The Firewall is an important component of Microsoft Windows which prevents unauthorized access to computer resources. If the Windows firewall is turned on and if it is not configured correctly, then attempts made to connect to SQL Server by users will be blocked. To access an instance of SQL Server through a firewall, a Database […]

Understanding Service Level Agreements

As a DBA, your job is to provide database systems that are reliable, secure and available when required. In order to achieve these goals, you must understand your customer’s service requirements, usually conveyed through Service Level Agreements. Far too many DBAs have no idea what their Service Level Agreements are, or if it’s possible to […]