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.
Soft Delete vs Archive Table: Which One Keeps Your Foreign Keys Working

Soft Delete vs Archive Table: Which One Keeps Your Foreign Keys Working

Comments 1
12 min read
One constant was costing my schema retriever 17 points

One constant was costing my schema retriever 17 points

Comments
2 min read
Postgres not using your index? It's counting pages, not rows

Postgres not using your index? It's counting pages, not rows

Comments
10 min read
Find the Departures Your Offboarding Ticket Report Misses with SQLite

Find the Departures Your Offboarding Ticket Report Misses with SQLite

Comments
4 min read
Build a Pre-Deployment Schema Drift Check for SQL Server

Build a Pre-Deployment Schema Drift Check for SQL Server

Comments
5 min read
A refund-aware reorder point model for TikTok Shop SKU planning

A refund-aware reorder point model for TikTok Shop SKU planning

Comments
5 min read
Natural Key vs Surrogate Key: Which One Should a Foreign Key Reference?

Natural Key vs Surrogate Key: Which One Should a Foreign Key Reference?

Comments 1
7 min read
MySQL Cannot Drop Index Needed in a Foreign Key Constraint: Which Fix to Use

MySQL Cannot Drop Index Needed in a Foreign Key Constraint: Which Fix to Use

Comments 1
7 min read
Why a ÂŁ24,000 HubSpot pipeline shows ÂŁ44,000 in Power BI

Why a ÂŁ24,000 HubSpot pipeline shows ÂŁ44,000 in Power BI

Comments 1
2 min read
Creator commission is a cash event, not a percentage

Creator commission is a cash event, not a percentage

Comments
4 min read
Text-to-SQL Agents Answer Questions Nobody Reviewed. Add Receipts

Text-to-SQL Agents Answer Questions Nobody Reviewed. Add Receipts

Comments
5 min read
PostgreSQL errors in your first month, and what they actually mean

PostgreSQL errors in your first month, and what they actually mean

Comments
3 min read
A cast to five bytes and a two-character word

A cast to five bytes and a two-character word

Comments
3 min read
ORA-00054 Resource Busy: Find the Session, and Know Which DDL Will Wait

ORA-00054 Resource Busy: Find the Session, and Know Which DDL Will Wait

1
Comments
11 min read
How to Find Slow Queries in SQL Server (DMVs and Query Store)

How to Find Slow Queries in SQL Server (DMVs and Query Store)

Comments
4 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.