Moving IF … ELSE logic from .NET code into a stored procedure? Here is how to rewrite it using CASE statements, with examples for SQL Server 2008 and 2012.
MYSQL – Detecting Current Version of MySQL Server Installation
How do you find the current version of MySQL Server installed on your machine? Run one simple SHOW VARIABLES command from the command prompt or MySQL Workbench.
Rebuilding System Databases With Setup When master Is Lost
Plan rebuilding system databases with Setup when master has no usable backup, then restore logins, jobs, and configuration.
Measuring Space Used by Tables per Filegroup in T-SQL
Measure tables per filegroup from allocation metadata, include LOB and overflow pages, and separate partition placement from growth history.
Big Data Upgraded: The 2013 Series Rewritten for Today
Big Data Upgraded is the reading path for 23 articles, most of them first written in 2013, now rewritten for today’s tools. Most new platforms now build on Spark, Parquet, open table formats and change data capture. Here is the whole set in reading order, with one line on each.
Batch vs Stream Processing: When Data Cannot Wait
Batch vs Stream Processing is a choice about how long an answer can wait. This post compares an hourly batch job with a 5-minute stream window on the same six orders, covers the cost of real time and shows how to choose.
Finding the Most Frequent Value per Group in T-SQL
Find the most frequent value in each group, choose a tie policy, and compare categorical modes with averages and numeric percentiles.







