Help for this page

Select Code to Download


  1. or download this
    #Assuming $sth has just been executed with a "show tables" query
    while(@tmp = $sth->fetchrow_array())
    ...
            push @tables, $tablename;
        }
    }
    
  2. or download this
    my $sth2 = $dbh->prepare("select count(*) from ?");
    $sth2->execute($tablename);