Remix.run Logo
randomNumber7 6 hours ago

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.

hunterpayne 4 hours ago | parent | next [-]

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.

rawgabbit 5 hours ago | parent | prev [-]

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.

lateforwork 4 hours ago | parent [-]

It can't do loops. Unless you're talking about extensions to SQL such as PL/SQL and T-SQL.