Help for this page

Select Code to Download


  1. or download this
    $sth = $dbh->prepare('SELECT * 
                          FROM   all_tables 
    ...
    while (@row = $sth->fetchrow_array) {
        print "@row\n";
    }
    
  2. or download this
    my $sql = <$filecontent>;
    
    $sql =~ s/\$table_name/$table_name/e;