in reply to Checking for DB table existence using DBI/DBD
Interesting to see some of the other responses you have. In particular, the table_info method by [id://snoopy] looks quite clean and transportable.# Check if this table exists on the remote site eval { $sql = "DESC $thisTable;"; $dbq = $ibisSite->prepare($sql); $dbq->execute; }; if ($@) { return($dbq->errstr); }
|
---|