Need Assistance?

support@tutorialshub.in

Data Types, Affinity & STRICT Tables

STRICT Tables (SQLite 3.37+)

ADVERTISEMENT
SQLite Free Lesson
5 min read
ADVERTISEMENT

If you want Postgres/MySQL-style strict type checking in SQLite, add STRICT at the end of CREATE TABLE! SQLite will immediately reject mismatched types with an error. Allowed column types in STRICT tables are INT, INTEGER, REAL, TEXT, BLOB, and ANY.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you