How to use CASE in a CHECK Constraint
If you need to use a CASE statement in a check constraint, you may be inclined to use something like this: use AdventureWorks2008 GO ALTER TABLE Person.EmailAddress ADD CONSTRAINT...
View ArticleSQL Server in the Cloud
I am in the middle of moving a mission critical SQL Server to the cloud. Stay tuned for a complete post! SQL Server Expert, Steve Abraham, holds 8 Microsoft certifications and specializes in SQL Server...
View ArticleIndex Statistics and AUTO_UPDATE_STATISTICS
I recently worked with a client that uses a SQL Server 2008 data warehouse and was having performance issues while loading data. There were a number of issues to address, but one of the issues...
View ArticleHow to: Identify SQL Server Transaction Log Usage by Table
The transaction log of a SQL Server database is often misunderstood. In short, the transaction log records every change made to the database. Yes, that’s right – every change. As such, depending on...
View Article