in reply to Re: Re: Re: Using placeholders in MySQL returning an error
in thread Using placeholders in MySQL returning an error
As others have pointed out, it is always good to be explicit when writing SQL statements. This means writing
instead ofINSERT into the_table(foo, bar, baz) values(...)
andINSERT into the_table values(...)
instead ofSELECT foo, bar, baz FROM the_table WHERE ...
It requires a little more typing, but it clarifies things, and will make errors more obvious.SELECT * FROM the_table WHERE ...
Michael
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Using placeholders in MySQL returning an error
by bradcathey (Prior) on Jan 16, 2004 at 19:14 UTC |