![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Deleting all from all tables in MYSQLby herveus (Prior) |
on Sep 19, 2012 at 17:00 UTC ( #994480=note: print w/replies, xml ) | Need Help?? |
Howdy!
You can't use placeholders that way. MySQL can't parse a statement like "delete from ?", so you can't prepare it. You are pretty much stuck with "delete from $row[0]".
yours, Michael
In Section
Seekers of Perl Wisdom
|
|