Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wait? Your can for example put an unicode string into integer or number columns? That can‘t be true? I mean, really? ...


It is. They even consider it a feature.

You don't actually need to specify column types at all. You can just leave them out. Or make up entirely new types like `BLIB` or whatever.

Foreign key constraints are also not enforced by default but there is at least an option to turn that on.

I'm keeping a close eye on DuckDB which looks like a modern saner version of SQLite.


> Wait? Your can for example put an unicode string into integer or number columns?

Yes

https://dbfiddle.uk/?rdbms=sqlite_3.27&fiddle=4634e3821676ed...


Yeah. Execute program has a short and sweet explanation with in-browser demonstration: https://www.executeprogram.com/courses/sql/lessons/no-type-e...


It is. They even consider it a feature.

You don't actually need to specify column types at all. You can just leave them out. Or make up entirely new types.

Foreign key constraints are also not enforced by default but there is at least an option to turn that on.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: