SQL Server Ben Johnston in SQL Server SQL Server DDM Security Risks: Side Channel Attacks and Partial Unmasking SQL Server Dynamic Data Masking can be bypassed: learn how side channel attacks use range queries to infer masked values,... 14 June 2023 31 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 Oracle INSERT, UPDATE & DELETE: Syntax and Examples Complete reference for Oracle DML statements. Covers INSERT (single-row and multi-row), UPDATE with conditions, DELETE vs TRUNCATE — with tested... 09 June 2023 20 min read
SQL Server Ben Johnston in SQL Server SQL Server Dynamic Data Masking Setup Guide Set up SQL Server Dynamic Data Masking step by step. Covers ALTER TABLE masking syntax, mask functions (default, email, random,... 07 June 2023 28 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: Filling Missing Dates with LAG, IGNORE NULLS, and Range Matching Three T-SQL approaches for filling gaps in a time series with last-known values (LOCF imputation): TOP-based lookup, IGNORE NULLS (SQL... 29 May 2023 19 min read
SQL Server Ben Johnston in SQL Server SQL Server Dynamic Data Masking: Introduction and Use Cases (Part 1) SQL Server Dynamic Data Masking (DDM) obfuscates column data for unauthorized users without changing the stored data. Part 1 introduces... 26 May 2023 13 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
PostgreSQL Henrietta Dombrovskaya in PostgreSQL Uncovering the mysteries of PostgreSQL (auto) vacuum Welcome to the second blog of the “magic of parameters” series. In the first entry, I covered memory parameters, and... 12 May 2023 13 min read
MySQL Robert Sheldon in MySQL Importing data into a MySQL database using LOAD DATA Database and development teams often load data from plain text files into their MySQL databases. The files might be used... 04 May 2023 24 min read
PostgreSQL Ryan Booz in PostgreSQL PostgreSQL Basics: Essential psql Tips and Tricks Having access to the psql command-line tool is essential for any developers or DBAs that are actively working with and... 01 May 2023 14 min read
PostgreSQL Ryan Booz in PostgreSQL PostgreSQL Basics: Getting started with psql PostgreSQL has a separate command-line tool that’s been available for decades and is included with any installation of PostgreSQL. Many... 24 April 2023 8 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming One use case for NOT using schema prefixes I’ve long been a huge advocate for always referencing objects with a schema prefix in SQL Server.… 20 April 2023 6 min read
PostgreSQL Grant Fritchey in PostgreSQL PostgreSQL Schema: Learning PostgreSQL with Grant An important aspect of building and managing a database is organizing the objects within your database. You may have tables... 10 April 2023 9 min read
Other Aisha Bukar in Other A Beginners Guide To MySQL Replication Part 2: Configuring Source and Replica Servers In the first part of this series, we spoke about MySQL Replication, the different types, replication formats, benefits, and downsides,... 10 April 2023 8 min read
T-SQL Programming Edward Pollack in T-SQL Programming Ordered Columnstore Indexes in SQL Server 2022: Usage & Limits Learn how to use the ORDER clause with columnstore indexes in SQL Server 2022. Covers automatic data ordering, rowgroup elimination... 07 April 2023 18 min read
MySQL Robert Sheldon in MySQL Modifying MySQL data from within Python In the previous article in this series, I introduced you to how to access MySQL data from within a Python... 03 April 2023 21 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming GENERATE_SERIES in SQL Server 2022: Syntax, Examples, and Performance vs Numbers Tables GENERATE_SERIES is the new built-in function in SQL Server 2022 and Azure SQL Database for producing a set of values... 30 March 2023 13 min read