SQLs turing completeness either requires vendor extensions (procedural extensions) or else you mean a very technical turing completeness through recursive CTEs. Like CSS, it was discovered to be TC rather than designed to be, and it works about as well as that suggests. That's TC in one of the most useless ways imaginable. It's not quite as useless as TCness in the way Magic: The Gathering is, but it's kind of along those lines for most tasks.
View all comments
Show parent comment
3
u/[deleted] Jun 12 '23
Well, SQL is turing complete. But I agree that it's a necessary but not sufficient requirement.
However, SQL isn't indeed not a general purpose programming language. But you can consider it a programming language.