Help for this page

Select Code to Download


  1. or download this
    # prepare query
    my $query = <<"EOSQL";
    ...
    
    # disconnect from database
    $dbh->disconnect;
    
  2. or download this
    my $dbh = DBI->connect ($dsn, $user, $pass, {
        RaiseError         => 1,
        PrintError         => 1,
        ShowErrorStatement => 1,
        });