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.
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.
REGEXP_REPLACE Text Cleanup: Replacing Tags Is Not Parsing HTML
REGEXP_REPLACE can remove controlled tag-like text, but that is not the same as parsing HTML. Test quoted brackets, surviving script text and word boundaries before deciding whether the replacement fits the input.
SQL SERVER – Creating All New Database with Full Recovery Model
A reader wanted every new database created with the full recovery model and was weighing policies, triggers and jobs. There is a much simpler solution.







