go ahead... be a heretic | |
PerlMonks |
Re: MySQL Parameterized Query with Functionsby mje (Curate) |
on Sep 16, 2014 at 07:48 UTC ( [id://1100706]=note: print w/replies, xml ) | Need Help?? |
As others have explained you cannot change the SQL itself with parameters, you can only change values. However, there should be no reason why you cannot use:
and pass 4 parameters. Then you can prepare the SQL outside of the loop.
In Section
Seekers of Perl Wisdom
|
|