r/programming
•
u/mitousa
•
Jul 12 '26
•
1
Prefer STRICT tables in SQLite
https://evanhahn.com/prefer-strict-tables-in-sqlite/
358
Upvotes
View all comments
Show parent comment
-24
u/taw Jul 12 '26
The world is full of untyped data, and you need to be able to store it. JSON, CSV, XML, and so on, that's likely vast majority of data out there, in very loosely typed formats. Forcing type checks on data insertion is totally not viable.
Making this a default, that's an interesting choice. Usually you need to opt-in some special column type like
JSON,VARIANTor whatever; or store such data asTEXT.