this post was submitted on 04 Oct 2023
74 points (86.3% liked)
Programming
17398 readers
102 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't think that explains it.
If we're talking about extensions that cover custom features then obviously those aren't supposed to be standardized because they haven't been widely adopted.
If an implementation is missing a feature then that's a shortcoming of that particular implementation, not SQL's.
If an implementation screws up and has non-compliance qwirks, that's a bug in the implementation, not a problem with SQL.
Take SQLite for example. It explicitly does not support static, rigid typing, and claims it's a feature. However, SQL supports static typing and other implementations leverage that for performance and cost gains. Additionally, SQLite also keeps a list with a summary of all the SQL features it purposely does not implement.
SQLite is pretty popular. Does this mean SQL is lacking in any way? Is the SQL standard "lacking" because it supports
ALTER TABLE foo ADD CONSTRAINT
even though SQLite does not? Or is this a problem caused by an implementation failing to comply with a standard?