2 ms·
> SQL is the very definition of procedural, I don't know what you're getting at there I assumed you were referring to programming paradigms. "Procedural" is pa
by thih9 5y ago
> SQL is the very definition of procedural, I don't know what you're getting at there
I assumed you were referring to programming paradigms. "Procedural" is part of the "imperative" paradigm [1]. "declarative" is different from "imperative" [1]. SQL is, for the most part, "declarative" [2].
> If it executes multiple times that's because it's part of a construct that runs everything inside it multiple times.
How is that different from CSS? Aren't CSS rules also part of some larger construct and they get run multiple times (i.e. once the context changes)?
[1]: https://en.wikipedia.org/wiki/Programming_paradigm https://en.wikipedia.org/wiki/Programming_paradigm
[2]: https://en.wikipedia.org/wiki/SQL https://en.wikipedia.org/wiki/SQL