sql was built so people other than devs can use it, but we got stuck with it.
Not really. Being designed with UX in mind, so that it sacrifices conciseness for readability, does not make it something for “people other than devs”.
Likewise, BASIC was also developed with UX in mind, and no one in their right mind would ever claim that it’s not a programming language.
normalexit@lemmy.world 1 year ago
SQL has been around and evolving since the 70s. It is an ISO/IEC standard and is portable across a multitude of databases.
https://en.m.wikipedia.org/wiki/SQL
sip@programming.dev 1 year ago
portable, my ass. excuse my french.
each system has it’s own dialect and quirks
lysdexic@programming.dev 1 year ago
That does not mean that SQL, as specified by one of it’s standard versions, is not portable. It just means that some implementations fail to comply with the standard and/or provide their own extensions.
sip@programming.dev 1 year ago
sure, ok, but who uses only the subset of standard SQL in a particular engine just to call his queri3s portable? most of the good stuff is unique to each engine and is what makes the engine stand out.
it’s the same with C standards…
Miaou@jlai.lu 1 year ago
Could also be that the standard is lacking in some areas. I’m not sql expert but I always end up using implementation specific features even for rather simple tasks. Are there really people out there sticking 100% to standard SQL? Hell, the biggest implementations don’t even agree on whether table/column names are case sensitive