Don't ask to ask, just ask | |
PerlMonks |
Re: DBD and a MySQL query with a SET @num lineby Neighbour (Friar) |
on Jan 20, 2014 at 10:19 UTC ( [id://1071291]=note: print w/replies, xml ) | Need Help?? |
From the DBI documentation http://search.cpan.org/~timb/DBI-1.630/DBI.pm#General_Interface_Rules_&_Caveats:
Multiple SQL statements may not be combined in a single statement handle ($sth), although some databases and drivers do support this (notably Sybase and SQL Server).
However, you can do it sequentially:
In Section
Seekers of Perl Wisdom
|
|