PostgreSQL Ryan Booz in PostgreSQL Getting connected to PostgreSQL for the first time PostgreSQL continues to be all the rage in 2023, whether in “vanilla” form of the fully open-source distribution or a... 03 November 2023 14 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
MySQL Aisha Bukar in MySQL A Beginners Guide To MySQL Replication Part 6: Security Considerations in MySQL Replication Protecting and controlling access to your data against unauthorized person(s) is crucial in any organization. Unauthorized entry or modification of... 12 October 2023 10 min read
Featured Henrietta Dombrovskaya in Featured PostgreSQL Indexes: What They Are and How They Help In the previous blog in this series, we learned how to produce, read and interpret execution plans. We learned that... 09 October 2023 13 min read
Theory and design Joe Celko in Theory and design First Normal Form Gets No Respect Dr. Codd first described the relational model in a paper in Communications of the ACM (CACM 13 No 6; June... 05 October 2023 13 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
MySQL Robert Sheldon in MySQL MySQL Joins Explained: INNER, LEFT, RIGHT, FULL OUTER, and CROSS JOIN A complete guide to MySQL joins: INNER JOIN for matching rows, LEFT and RIGHT OUTER JOINs for non-matching rows, FULL... 25 September 2023 28 min read
Database Administration Adrien Muhlemann in Database Administration Analyze and Tune SQL Server Statistics Over the years, SQL Server Statistics have been discussed in countless blog posts, articles, and presentations, and I believe that... 22 September 2023 34 min read
T-SQL Programming Drupal Grupal in T-SQL Programming Alternatives To SQL Server 2022 Built-in function GREATEST If you haven’t already heard, SQL Server 2022 introduced a new built-in system function called GREATEST. Simply put, it is... 18 September 2023 14 min read
Ben Johnston in SQL Server SQL Server Row-Level Security: Integration, anti-patterns, and alternatives (complete guide, part four) A complete guide to SQL Server Row-Level Security integration, anti-patterns, and alternatives.… 17 September 2023 20 min read
SQL Server Ben Johnston in SQL Server SQL Server Row-Level Security: Performance, tuning, and troubleshooting (complete guide, part three) Tune SQL Server Row Level Security performance: compare authentication methods (SESSION_CONTEXT, roles, AD), optimise access predicate indexing, and troubleshoot ETL... 10 September 2023 25 min read
MySQL Robert Sheldon in MySQL MySQL Constraints Guide: PRIMARY KEY, FOREIGN KEY, NOT NULL, DEFAULT, and CHECK Constraints with Examples Complete guide to MySQL constraints - PRIMARY KEY for unique row identification, FOREIGN KEY for referential integrity, NOT NULL for... 07 September 2023 31 min read
MySQL Muhammed Ali in MySQL Orchestrating a MySQL Container on Kubernetes If you’ve been using MySQL for a while and want to learn how to orchestrate MySQL containers, you’ve come to... 05 September 2023 9 min read
SQL Server Ben Johnston in SQL Server SQL Server Row-Level Security: Setup, access predicates, and examples (complete guide, part two) Set up SQL Server Row Level Security with access predicates (inline TVFs) and security policies. Part 2 covers three setup... 03 September 2023 16 min read