PostgreSQL Henrietta Dombrovskaya in PostgreSQL What Is an Execution Plan and How to Find It in PostgreSQL In the last blog (When PostgreSQL Parameter Tuning is not the Answer), we compared several execution plans for a SQL... 07 August 2023 13 min read
Blogs Ben Johnston in Blogs SQL Server Row Level Security Deep Dive. Part 1 – Introduction and Use Cases My initial goal of documenting and exploring SQL Server Row Level Security (RLS) was to show the basic functionality and... 01 August 2023 17 min read
Database Administration Edward Pollack in Database Administration Running Queries Across Many SQL Server Databases A challenge that reappears periodically in the world of databases (especially database management) is the need to run code on... 31 July 2023 14 min read
MySQL Robert Sheldon in MySQL Exporting data from a MySQL database using SELECT…INTO OUTFILE In the previous article in this series, I introduced you to the MySQL LOAD DATA statement, which lets you retrieve... 27 July 2023 21 min read
PostgreSQL Grant Fritchey in PostgreSQL Querying PostgreSQL: Learning PostgreSQL with Grant Writing queries to retrieve the data from a database is probably the single most common task when it comes to... 24 July 2023 9 min read
MySQL Lukas Vileikis in MySQL Optimizing Queries in MySQL: Optimizing Updates In the previous parts of these MySQL optimization series, we’ve told you how queries work on a high level, then... 20 July 2023 11 min read
Blogs Aisha Bukar in Blogs A Beginners Guide to MySQL Replication Part 3: Multi-Source Replication Welcome back to the world of MySQL Replication! If you’ve been following this series, thank you for your support! And... 18 July 2023 11 min read
Theory and design Joe Celko in Theory and design The GROUP BY Clause When you’re learning SQL DML, the most complicated clause is typically the GROUP BY. It’s a fairly simple grouping based... 10 July 2023 27 min read
PostgreSQL Henrietta Dombrovskaya in PostgreSQL When PostgreSQL Parameter Tuning is not the Answer So much about parameters tuning, but does it always help? Welcome to the third and final blog of the “magic... 06 July 2023 9 min read
T-SQL Programming Greg Larsen in T-SQL Programming Using a Subquery in a SELECT statement Did you know you can include a SELECT statement within another SELECT statement? When a SELECT statement is embedded within... 26 June 2023 15 min read
Snowflake Pankaj Gupta in Snowflake Snowflake: A Cloud Warehouse Solution for Analytics This article explains what Snowflake data warehouse is and how it is different from other traditional data warehouses. This article... 19 June 2023 19 min read
Robert Sheldon Working with MySQL transactions MySQL transactions provide an effective method for executing multiple statements as a single unit, making it possible to safely modify... 15 June 2023 19 min read
PostgreSQL Grant Fritchey in PostgreSQL Manipulating Data In PostgreSQL: Learning PostgreSQL with Grant So far in the series I’ve shown how to create databases, tables, constraints, indexes and schema. Now, it’s time to... 12 June 2023 13 min read
Oracle Chandra Rawat in Oracle A Guide to INSERT, UPDATE, and DELETE Statements in Oracle In this article, we’ll be focusing on three of the most used SQL commands in Oracle: INSERT, UPDATE, and DELETE.... 09 June 2023 19 min read
Performance Dennes Torres in Performance SQL Server 2022: Capture SQL Anti-Patterns One of the new Extended Event available in SQL Server 2022 is the query_antipattern. This extended event allows to... 01 June 2023 6 min read
T-SQL Programming Itzik Ben-Gan in T-SQL Programming T-SQL Gap-Filling Challenge A student of mine sent me a T-SQL challenge involving gap-filling of missing dates and balances. I found the challenge... 29 May 2023 19 min read
Blogs Ben Johnston in Blogs Unmasking SQL Server Dynamic Data Masking – Part 1 – Introduction This is the beginning of a series on SQL Server Dynamic Data Masking. Dynamic Data Masking is a concept familiar... 26 May 2023 12 min read
MySQL Lukas Vileikis in MySQL Optimizing MySQL: Adding Data to Tables Welcome back to the MySQL optimization series! In case you haven’t been following this series, in the past couple of... 22 May 2023 21 min read
PostgreSQL Ryan Booz in PostgreSQL PostgreSQL Basics: A Template for Managing Database Privileges In the first two articles of this series about PostgreSQL privileges, we reviewed how to create roles, grant them privileges... 18 May 2023 14 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Changing log growth strategy in SQL Server 2022 When I first saw a bullet item stating SQL Server 2022 would support instant file initialization for log file growth,... 15 May 2023 6 min read