| Subject | Re: [firebird-support] fdb named parameters |
|---|---|
| Author | Mark Rotteveel |
| Post date | 2015-02-27T20:17:13Z |
And that is a bad idea as it is susceptible to SQL injection.
Mark
----- Reply message -----
Van: "esdonisgarcia@... [firebird-support]" <firebird-support@yahoogroups.com>
Aan: <firebird-support@yahoogroups.com>
Onderwerp: [firebird-support] fdb named parameters
Datum: vr, feb. 27, 2015 20:24
Van: "esdonisgarcia@... [firebird-support]" <firebird-support@yahoogroups.com>
Aan: <firebird-support@yahoogroups.com>
Onderwerp: [firebird-support] fdb named parameters
Datum: vr, feb. 27, 2015 20:24
> At 10:04 a.m. 24/02/2015, Ernesto Benestante ebenestante@... > [firebird-support] wrote: >>Hi, does FDB support named parameters in queries?
[POST TRIMMED]
Test with paramt1 = "3" cur.execute("select * from customers where id = '%s'" % paramt1) Best Regards ====== ISMAEL ====== Only for the small landowners and Cubans companies Website: www.sisconge.byethost15.com www.sisconge.hol.es
------------------------------------
Posted by: esdonisgarcia@...
------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu. Try FAQ and other links from the left-side menu there.
Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/firebird-support/join
(Yahoo! ID required)
<*> To change settings via email:
firebird-support-digest@yahoogroups.com
firebird-support-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com
<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/