Prefer STRICT tables in SQLite

A short opinion post arguing for adding STRICT to SQLite table definitions.

Author
Evan Hahn
Published
11 July 2026
Kind
Personal blog post, with one informal performance test
Original
evanhahn.com/prefer-strict-tables-in-sqlite/
Subject
Databases and storage
Themes
Checking the work

What it is

Evan Hahn recommends strict tables for new SQLite work. The post sets out what STRICT does and where it falls short.

What it says

What evidence it gives

The post gives short SQL examples of accepted and rejected inserts. Its one measurement is an informal script that inserted millions of rows. The author says it was not tested thoroughly.

Interests and limits

This is one developer's preference, with no stated commercial stake. The speed test was informal and not thorough. The post does not test large real applications or migrations.