Home » Archive by Category

Articles in the SQL Category

SQL Server Index Maintenance Performance Tuning for Large Tables
Wednesday, 16 Mar, 2011 – 18:25 | No Comment

Problem
When using transactional replication to replicate data in a one way topology from a publisher to a read-only subscriber(s) there is no need to manage identity ranges. However, when using  transactional replication to replicate data …

How to Use Policy Based Management to Implement Database Settings
Wednesday, 16 Mar, 2011 – 18:23 | No Comment

Introduction
Database Administrators have always had a tough time to ensuring that all the SQL Servers administered by them are configured according to the policies and standards of organization. Using SQL Server’s  Policy Based Management feature …

How to add a Column to a SQL Server Table
Wednesday, 16 Mar, 2011 – 18:21 | No Comment

Adding a column to a table is  common task for  DBAs. You can add a column to a table which is a nullable column or which has default values. But are these two operations are …

How to correlate SQL Server Profiler with Performance Monitor
Saturday, 19 Feb, 2011 – 13:33 | No Comment

Both Performance Monitor and SQL Server Profiler provide valuable information about your server. However, if you combine the data from the two sources, then this correlated information can help find some of the subtler bugs. …

SQL Scripts Manager with PowerShell
Saturday, 19 Feb, 2011 – 13:24 | No Comment

The free tool SQL Scripts Manager (SSM) does much more than just run SQL Scripts. It will also run IronPython and PowerShell scripts. By using PowerShell, you’ll be able to run SMO for a wide …

Maintenance Performance Tuning for Large Tables in SQL Server
Wednesday, 16 Feb, 2011 – 9:12 | No Comment

It is nothing really new that indexes have their right to exist in SQL Server. It is also nothing really new, that these indexes need to be maintained every now and then, even though this …

Monitor Transactional Replication – The Distribution Queue
Monday, 7 Feb, 2011 – 11:51 | No Comment

Monitoring the distribution queue is an important link in the chain of transactions delivery over a replicated topology. A chain that includes the log reader agent scanning the published database’s transaction log for commands to …

Encryption at Column-Level in SQL Server
Wednesday, 2 Feb, 2011 – 15:31 | No Comment

Beginning with SQL Server 2005, column-level encryption and decryption capabilities where made available within the database.  This provides a compelling solution for situations where one-off types of data need to be secured beyond your existing …

Natural Key Verses Surrogate Key in SQL Server
Tuesday, 1 Feb, 2011 – 19:24 | No Comment

When designing a database to support applications you need to consider how you are going to handle primary keys. This article explores natural and surrogate keys, and discusses the pros and cons of each, allowing …

Re-generating SQL Server Logins
Friday, 28 Jan, 2011 – 7:51 | No Comment

Microsoft SQL Server stores all login permissions in security catalog system tables. By querying the system tables, database administrators can produce a comprehensive report for login permission including original password, the server and database roles …