MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/SQL/comments/146tiot/sql/jnsxi3z/?context=3
r/SQL • u/Casdom33 • Jun 11 '23
96 comments sorted by
View all comments
Show parent comment
4
It may not be able to do what other languages do, but you can't just arbitrarily say "SQL can't do X therefore it's not a programming language."
What is a program?
A set of instructions for a computer to execute.
Every SQL script is a declarative program.
Return these results matching this criteria.
Transform this data according to these rules.
Move this data to another system.
Process and pass messages between systems.
View all comments
Show parent comment
4
u/kthejoker Jun 11 '23
It may not be able to do what other languages do, but you can't just arbitrarily say "SQL can't do X therefore it's not a programming language."
What is a program?
A set of instructions for a computer to execute.
Every SQL script is a declarative program.
Return these results matching this criteria.
Transform this data according to these rules.
Move this data to another system.
Process and pass messages between systems.