News for hackers. Stuff that matters.
Re:Don’t try to sanitize input, escape output (2020) by Arnavion on Thursday January 13, 2022 @04:09PM (#29926905)
>This is wrong. Parameterized queries do not build an SQL string by escaping the input. The input is actually sent to the database separately from the SQL.

Your blanket observation is not necessarily true of all databases or database drivers. You found three counter-examples yourself, but there's no reason to not consider them "sane". It's not less correct than for databases that do support prepared statements in the driver protocol.

There are no comments on this comment yet.