[Info-vax] Better languages than BASIC
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Mon Jan 15 08:21:25 EST 2024
On 2024-01-12, Lawrence D'Oliveiro <ldo at nz.invalid> wrote:
> On Fri, 12 Jan 2024 13:34:53 -0000 (UTC), Simon Clubley wrote:
>
>> For security reasons, I would have preferred to see that as a prepared
>> statement instead of as a concatenated SQL statement.
>
> Feel free to show us how you would write it as same. Can your prepared-
> statement system cope with variable numbers of fields? Variable field
> names? Variable operator selections? All these were present in the
> example.
I have _never_ had the need to do that. In the real world, you know what
data you want to read or update, and with what selection criteria, at the
point you write such code.
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
More information about the Info-vax
mailing list