>> Fully prevent SQL injection by only using SQL prepared statements and stored procedures
> That is an extraordinarily inefficient and costly way to develop.
Why is this inefficient? Can you elaborate?
> That is an extraordinarily inefficient and costly way to develop.
Why is this inefficient? Can you elaborate?
Most people don't deal with important records though, and generally not people here (though a shout out to people from Stripe and other payments companies!). So I would t recommend stored procedures for this cloud either.
I do recommend prepared statements, but they do have a cost since it is two network calls for one query instead of one. Totally worth it too.
IN clauses can get tricky if prepared statements don't support arrays / lists of columns.
Adhoc queries get tricky where user could specify a parameter or not.
This answer is more about stored procedures than prepared statements.