|
|
|
|
|
by WorldWideWayne
4080 days ago
|
|
Composing SQL strings at runtime should be the very last resort in my opinion. This is what stored procedures and parameterized queries are for. Even if I am going to do dynamic SQL, I do it in a stored procedure if I can. |
|
I still don't see how you can pass user input from, say, a python string into a stored procedure call without worrying about injections. Or converting between your app's data structures and whatever string is necessary for your stored procedure.