in reply to Re: Re: Re: Using placeholders in MySQL returning an error
in thread Using placeholders in MySQL returning an error
Don't see what code samples could be provided besides what is already above. It's just as mrpeppler said: INSERT INTO foo SET . . . works on MySQL, but may not work anywhere else (it doesn't on PostgreSQL, for instance). Which is unfortunate, IMHO, because the SET syntax makes it easier to figure out which parameters are being set to what in a large statement.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Formatting your SQL properly is kinda helpful ...
by dragonchild (Archbishop) on Jan 16, 2004 at 19:21 UTC | |
by mpeppler (Vicar) on Jan 16, 2004 at 19:35 UTC | |
by hardburn (Abbot) on Jan 16, 2004 at 19:42 UTC |