2009/4/20 Dermot <[email protected]>:
> Hi,
...
> --
>
> DROP TABLE IF EXISTS `foo`;
> CREATE TABLE `foo` (
>  `bar` bigint(20) NOT NULL default '0',
...
>
> I can't see much in the docs that can do table level statement, or am
> I being blind!


The answer was in the driver documentation not the DBI docs. So
DBD::mysql in my case.

$dbh->do("DROP TABLE foo");
$dbh->do("CREATE.....etc");

Dp.

Reply via email to