Restoring a SQL Server 2008 R2 backup failed with Specified cast is not valid (SqlManagerUI). Here is what we found after a few emails and screenshots.
Deleting From a Heap: Why Empty Pages Stay Behind
The rows are gone but the table is the same size and scans are just as slow. Here is why, and two ways to fix it.
SQL SERVER – Identify Disk Latency on SQL Server Box Using PowerShell
Disks are often behind a slow server, and the problem can be hard to spot. Here is a PowerShell script to identify Disk Latency on your SQL Server box.
SQL SERVER – CREATE TABLE Failed Because Column ‘C1024’ in Table ‘myTable’ Exceeds the Maximum of 1024 Columns
Sparse columns should let a table go past 1024 columns, yet a reader’s CREATE TABLE failed saying it exceeds the maximum of 1024 columns. Here is why.
SQL Server – Knowing Deprecated or Discontinued Features Using Extended Events
Find the use of deprecated or discontinued features without Profiler. Here is a step by step way to track them using Extended Events in SSMS.





