The Wayback Machine - https://web.archive.org/web/20261029184857/https://dev.to/t/sql

DEV Community

select * from SQL

Posts on tips and tricks, using and learning about SQL for database development and analysis.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Foreign Key Cascade Deletes: Un-Indexed FKs, Slow Cascades, and Lock Contention in PostgreSQL

Foreign Key Cascade Deletes: Un-Indexed FKs, Slow Cascades, and Lock Contention in PostgreSQL

1
6 min read
MySQL to PostgreSQL Schema Conversion: What Each Column Type Should Become, and What Silently Changes

MySQL to PostgreSQL Schema Conversion: What Each Column Type Should Become, and What Silently Changes

1
12 min read
SARGable Queries in SQL Server: Why Functions in WHERE Slow You Down

SARGable Queries in SQL Server: Why Functions in WHERE Slow You Down

3 min read
It passed every constraint. It was still wrong.

It passed every constraint. It was still wrong.

6 min read
Teaching yourself SQL when your job is ops

Teaching yourself SQL when your job is ops

2 min read
The dbt test that would have caught our duplicate orders

The dbt test that would have caught our duplicate orders

1 min read
SQL Was Always Just Database Stuff to Me. Then I Started Writing Queries

SQL Was Always Just Database Stuff to Me. Then I Started Writing Queries

5
2
6 min read
Use INSERT WITH CHECK and UPDATE USING to allow owner-on-create but block owner transfers

Use INSERT WITH CHECK and UPDATE USING to allow owner-on-create but block owner transfers

4 min read
Filtering Data in SQL: A Beginner’s Guide to WHERE, AND, LIKE and Friends

Filtering Data in SQL: A Beginner’s Guide to WHERE, AND, LIKE and Friends

1
3 min read
Modelling a shared inbox: why the message is the primary key, not the conversation

Modelling a shared inbox: why the message is the primary key, not the conversation

2 min read
DuckDB 2.0 for Data Engineers: Upgrade Risks and What to Know

DuckDB 2.0 for Data Engineers: Upgrade Risks and What to Know

1
1
9 min read
5 Common SQL Mistakes: WHERE, ORDER BY, AND/OR, and Top 3 Queries

5 Common SQL Mistakes: WHERE, ORDER BY, AND/OR, and Top 3 Queries

3 min read
VIDRAFT NL2SQL Engine Scores 83.80 on BIRD Mini-Dev, Above the Current #1, and Opens a Public Demo

VIDRAFT NL2SQL Engine Scores 83.80 on BIRD Mini-Dev, Above the Current #1, and Opens a Public Demo

3 min read
Your deletion tracker may be counting collection failures

Your deletion tracker may be counting collection failures

1
7 min read
Filtering In SQL Is Just Asking Your Data Politely.

Filtering In SQL Is Just Asking Your Data Politely.

1
3 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.