Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dventimi
· 3y ago · 0 comments
If you can't use stored procedures which are good for this very case, many databases offer dynamic SQL. That might work in some cases.
Comments
[–]
alphanumeric0
3y ago
That's a good point. This would rule out SQLite for me.
[–]
mr_toad
3y ago
Dynamic SQL isn’t SQL, and it’s not relational. It’s no different from using a language like Python to generate SQL queries.
[–]
dventimi
OP
3y ago
It's a little different. Anyway, this is under the constraint "no stored procedures."