I want to run two $sql assigned create table statements and run them one after the other, adding tables to the same database. My program creates the first table but not the second. Any suggestions why?
my $sql = qq{ CREATE TABLE Table_A ( #SQL goes in here )}; $dbh->do($sql); $dbh->disconnect(); if ($table_name = $Table_4){ print "hereb\n"; my $sql = qq{ CREATE TABLE Second_table ( + #SQL statement goes in here )}; my $dbh->do($sql); $dbh->disconnect(); }
In reply to Table creation by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |