Top
Best
New

Posted by b-man 5 days ago

The Rise of SQL:the second programming language everyone needs to know(spectrum.ieee.org)
144 points | 120 commentspage 3
namegulf 17 hours ago|
Data is the new oil or gold, SQL is the tool, the language to interact with it.

Put it together, it's pure gold!

Kwpolska 16 hours ago||
IEEE Spectrum is full of uninspiring blogspam, like this post.
chasil 15 hours ago||
I notice that the top image is of Transact SQL, the Sybase/Microsoft dialect. This is not a formal standard, and I suggest against its use.

https://en.wikipedia.org/wiki/Transact-SQL

SQL/PSM is a general ISO standard that grew out of Oracle PL/SQL, is rooted in ADA, and is implemented by a large range of databases.

https://en.wikipedia.org/wiki/SQL/PSM

Standards are important.

setr 12 hours ago|
The SQL standard defines more of an aesthetic than an actual language. Every database just extends it arbitrarily and anything beyond rudimentary queries is borderline guaranteed to be incompatible with other databases.

When it comes to procedural logic in particular… you have almost zero chance you’re dropping into that into another database and it working — even for rudimentary usage.

SQL-land is utterly revolting if you have any belief in standards being important. Voting for Oracle (itself initialized as a shallowly copied dialect of IBM SQL, and deviated arbitrarily) as the thing to call “standard” is just offensive.

brikym 16 hours ago||
I much prefer Kusto query language. SQL needs a few tweaks so that it's more type safe and supports auto completion. Some engines support From-first which is a good start.
CommenterPerson 13 hours ago||
Knowing SQL, and knowing how to optimize queries has pretty much paid my paycheck for 20 years.
stevefan1999 14 hours ago||
without CTE, is SQL a programming language?
marcusfrex 13 hours ago|
SQL is not a programming language.
canyp 11 hours ago|
I wonder how this guy implement a ray tracer, then.

https://github.com/chunky/sqlraytracer