// The SQL Geek

Where Data Meets
Intelligence

Deep dives into SQL, Data Engineering, AI, Cloud Architecture, Cybersecurity, Quantum Computing and more. Written for professionals who build real things.

Latest Posts

Row-Level & Cell-Level Security in SQL Server with Label Security Toolkit
Featured

Row-Level & Cell-Level Security in SQL Server with Label Security Toolkit

The free SQL Server Label Security Toolkit enables Row-Level Security (RLS) and Cell-Level Security (CLS) by applying security labels—sensitivity markings consisting of categories—to data rows and cells. Users gain access only if their clearance (tied to Windows AD accounts, SQL logins, or DB roles/groups) matches the label; includes metadata tables, helper procs/functions, vwVisibleLabels view, and a GUI for schema design. A cost-effective layer for compliance (SOX, HIPAA) that works on top of

Read More →
National Weather Service Data Collector
Data

National Weather Service Data Collector

Built a fun weekend project with my son to collect hourly National Weather Service observations into SQL Server while he learned SQL. The PowerShell script pulls current conditions from NWS stations, stores data cleanly, and includes full DB scripts plus a Power BI dashboard for visualization. Open-source on GitHub for anyone to clone, run, or extend.

Read →
SQL Server Always On Availability Groups: Worker Thread Capacity Planning
SQL

SQL Server Always On Availability Groups: Worker Thread Capacity Planning

Worker thread capacity is a critical factor when planning SQL Server Always On Availability Groups, as replicas share an HADR pool while using unshared log capture, send, and redo threads per database. Minimum threads required = (Database Count × (1 + Secondary Replicas)) + 1, often consuming a significant portion of available threads (max worker threads minus 40). Poor planning risks thread exhaustion, failed database joins, and the need to drop/recreate AGs in production.

Read →
Ways to get data out of Essbase
Data

Ways to get data out of Essbase

DataExport scripts, and Grid API offer fast but limited access without dynamic calculations. Modern connectors and tools like Power BI's native Essbase integration or BluePrint Conduit provide simpler, more governed paths for low-latency data delivery into BI workflows.

Read →