Compare SEQUENCE cache size, restart gaps, rollback gaps, and insert throughput with CACHE 50, CACHE 1000, and NO CACHE.
Data Quality Checks Worth Running After Every Load
Run data quality checks for missing values, duplicate keys, invalid ranges, and count reconciliation before promoting a loaded batch to production.
geometry STPointN: Read a One-Based Point Position
geometry STPointN selects a point from an instance. The example keeps its one-based position visible and returns NULL when the requested position exceeds the line point count.
Troubleshooting Cube Performance: Three Checks
Diagnose cube performance by comparing the same MDX query, processing changes and resource pressure before choosing a repair.
T-SQL Features Added in Recent Versions
T-SQL features added in recent SQL Server versions shorten common date, comparison, string, and JSON patterns when deployed deliberately.
Building a Test Server From a Script
Build a test server from a script with unattended SQL Server setup, repeatable configuration, and sample data that can be reset after each run.
SQL SERVER – Question to You – When to use Function and When to use Stored Procedure
Deciding when to use functions or stored procedures depends on the caller and required work. I want examples behind that choice.







