Database Administration Edward Pollack in Database Administration The Importance of Retention It is always an afterthought. New objects are created that start off small and current. New feature development takes over... 19 January 2024 24 min read
Database Administration Aaron Bertrand in Database Administration Optimized locking in Azure SQL Database I don’t think I’ve ever had a great impression of Azure SQL Database as a place for production applications. In... 08 January 2024 8 min read
T-SQL Programming Itzik Ben-Gan in T-SQL Programming Two-Dimensional Interval Packing in SQL Server: Itzik Ben-Gan’s Unpack/Pack Solution Itzik Ben-Gan's two-dimensional interval packing challenge in SQL Server: packing overlapping student schedule intervals across date and period axes. Complete... 02 January 2024 17 min read
Ben Johnston in SQL Server 11 proven data warehouse load patterns (complete guide, part two) 11 proven data warehouse load patterns — revised date, modified flag, hash comparison, history tables, and more — with the... 31 December 2023 30 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Counting more efficiently Nearly a decade ago, I wrote a post called “Bad habits : Counting rows the hard way.” In that post,... 20 December 2023 7 min read
BI Dennes Torres in BI Using Spark Jobs for Multiple Lakehouse Maintenance in Microsoft Fabric I have published videos and articles before about Lakehouse maintenance. In this article I want to address a missing point... 17 December 2023 12 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming When an update doesn’t update Tell me if you’ve heard this one before: I changed data from my application, but when I checked the database,... 27 November 2023 5 min read
Ben Johnston in SQL Server Getting started with data warehouse load patterns (complete guide, part one) The requirements, prerequisites, and general patterns behind every solid data warehouse load — from natural keys and refresh rates to... 26 November 2023 28 min read
BI Dennes Torres in BI Source Control with GIT, Power BI and Microsoft Fabric Source control is fundamental when dealing with projects and sharing code between multiple developers. Power BI present some challenges related... 22 November 2023 24 min read
BI Fabriano Richard in BI What is Microsoft Fabric all about? In this article, we will introduce Microsoft Fabric and how it relates to Power BI Premium Capacity we will turn... 22 November 2023 11 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Strategies for queries against bit columns Recently someone posted a question where they couldn’t quite figure out how to construct a predicate based on a bit... 20 November 2023 7 min read
Database Administration Aaron Bertrand in Database Administration Moving SQL Server To The Cloud: Modernizing Stack Overflow for Teams Earlier this year, we migrated the entire Stack Overflow for Teams platform to Azure. This was a lengthy endeavour and... 06 November 2023 11 min read
BI Dennes Torres in BI SQL Endpoints and Lakehouse UI Differences and Access Secrets There are some differences and secrets between the UI of a SQL Endpoint and the UI of a Lakehouse. I... 30 October 2023 7 min read
T-SQL Programming Edward Pollack in T-SQL Programming Export & Import Data in SQL Server: CSV, Parquet & PowerShell Export and import data in SQL Server using PowerShell and OPENROWSET. Step-by-step guide for CSV files, parquet format, BCP, SQL... 23 October 2023 23 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Don’t Use DISTINCT as a SQL Join Fixer – Use EXISTS Instead Using DISTINCT to fix duplicate rows from a SQL join is a common antipattern. It generates all the duplicates first,... 16 October 2023 6 min read
Ben Johnston in SQL Server SQL Server Security Features: Complete Guide Complete guide to SQL Server security features - TDE, Always Encrypted, Dynamic Data Masking, Row-Level Security, auditing, firewall rules, and... 15 October 2023 39 min read
Ben Johnston in SQL Server How to detect and mitigate Row-Level Security attacks in SQL Server (complete guide, part six) Detect and mitigate attacks against SQL Server Row Level Security (RLS) - side-channel timing attacks, excessive-error patterns, brute force attempts.... 03 October 2023 25 min read
Performance Aaron Bertrand in Performance Normalize strings to optimize space and searches While this article is specifically geared to SQL Server, the concepts apply to any relational database platform. The Stack Exchange... 02 October 2023 9 min read
T-SQL Programming Itzik Ben-Gan in T-SQL Programming T-SQL Fundamentals: Controlling Duplicates When people start learning a new field, for example T-SQL, it’s tempting to spend very little time trying to understand... 28 September 2023 20 min read
Ben Johnston in SQL Server SQL Server Row-Level Security: Attacks & vulnerabilities (complete guide, part five) Explore SQL Server Row-Level Security vulnerabilities - direct attacks, indirect attacks, and side-channel bypasses. Essential reading before deploying RLS in... 25 September 2023 22 min read