publish: true
aliases:
- "`STRICT` in SQLite"At least some features of dynamic typing can be opted out of, by using the STRICT when declaring the table.
CREATE TABLE strict_table_name(
column type constraint,
...
) STRICT;
The strict tables follow these rules:
INT, INTEGER, REAL, TEXT, BLOB, and ANY.ANY data type can accept any kind of data. SQLite will not perform any conversion for these columns.PRIMARY KEY columns are implicitly [NOT NULL](https://www.sqlitetutorial.net/sqlite-not-null-constraint/).PRAGMA integrity_check and PRAGMA quick_check commands verify the type of the contents of all columns in strict tables and display errors if any mismatches are found.