logoalt Hacker News

randomNumber7yesterday at 9:48 PM2 repliesview on HN

Also SQL is not turing complete. I see it more as a descriptive language like e.g. html is a language but not a programming language.


Replies

hunterpayneyesterday at 11:30 PM

This is completely wrong. The SQL spec isn't Turning complete but multiple DBs provide Turing complete extensions (like pgplsql) that make it so. Also, even without the extensions, it is still very much a programming language by any definition of the term. Like most takes on SQL, it is more about your understanding (or lack thereof) of SQL.

rawgabbityesterday at 10:34 PM

It can do loops and recursion. It can use as much memory as it is allowed. It can do general programming via functions and stored procedures.

show 1 reply