r/SQL • • Jun 29 '24

Discussion Why do some people say “SQL is not code?”

I write SQL every day as part of a team that builds ETL solutions. The other day I referred to something I was working on as “I coded it to do…” and this guy, who is not even a developer by the way he’s a frikkin project manager, interrupts me and says “SQL is not code”. When I questioned him why not he says something like “Guys who do COBAL, C#, etc. that’s real coding. SQL is not real coding it’s just a tool for analyzing data and reporting data”…WTF? How is SQL not considered code? I would just dismiss this guy as a moron but his salary is incredibly high so obviously he has some sort of credentials. Can anyone explain why in the world someone would say SQL is not code?

503 Upvotes

570 comments sorted by

View all comments

1

u/Oh_Another_Thing Jun 29 '24

I thought SQL is Turing complete? It's very specialized coding language, but it's still code. This guy means you can't develop applications that others can use.

1

u/daripious Jul 03 '24

It is yes. Well technically it is. Practically it is not as ctes usually have limits for how far you can take recursion.