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.
ALTER COLUMN failed because one or more objects access this column

ALTER COLUMN failed because one or more objects access this column

Comments
4 min read
A new campaign's first results cost zero API quota, because Postgres already has the titles

A new campaign's first results cost zero API quota, because Postgres already has the titles

Comments
7 min read
[query-inspector] A Claude Code skill for extracting and tuning SQL/ORM queries

[query-inspector] A Claude Code skill for extracting and tuning SQL/ORM queries

Comments
4 min read
The Day My "Index Optimization" Melted Our Database 🔥

The Day My "Index Optimization" Melted Our Database 🔥

Comments
9 min read
A campaign that has searched every keyword gets eight new ones, and the worst eight switch off

A campaign that has searched every keyword gets eight new ones, and the worst eight switch off

Comments
7 min read
QueuePool Limit Reached - When FastAPI Runs Out of Database Connections

QueuePool Limit Reached - When FastAPI Runs Out of Database Connections

Comments
10 min read
Postgres Let Two Rows Through a Unique Index: The glibc Collation Trap After an OS Upgrade

Postgres Let Two Rows Through a Unique Index: The glibc Collation Trap After an OS Upgrade

Comments
8 min read
Three months of sales vanished, and every dbt run was green

Three months of sales vanished, and every dbt run was green

Comments
5 min read
My Experience Using SQL: DDL, DML, WHERE and CASE WHEN

My Experience Using SQL: DDL, DML, WHERE and CASE WHEN

Comments
2 min read
A cache key ate 99.9% of my records and the pipeline looked green

A cache key ate 99.9% of my records and the pipeline looked green

Comments
5 min read
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint

The ALTER TABLE statement conflicted with the FOREIGN KEY constraint

Comments
4 min read
The Empty SMALLINT Column That Led Me to Nine More Missing Types

The Empty SMALLINT Column That Led Me to Nine More Missing Types

Comments
2 min read
SqlJam: Move Tables Across Databases with Schema, Data and All

SqlJam: Move Tables Across Databases with Schema, Data and All

Comments
5 min read
MSSQL LEDGER TABLES Bulletproof Data Integrity and Authenticity

MSSQL LEDGER TABLES Bulletproof Data Integrity and Authenticity

Comments
4 min read
How AI can investigate a 12 GB export without reading it into a prompt

How AI can investigate a 12 GB export without reading it into a prompt

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