Help for this page

Select Code to Download


  1. or download this
    my $dbh    = DBI->connect($DSN, $userid, $sesame, {
        AutoCommit => 0,
        RaiseError => 1,
        PrintError => 0
    }) or die "Connection failed!\n" . $DBI::errstr;
    
  2. or download this
    my $dbh    = DBI->connect($DSN, $userid, $sesame, {
        AutoCommit => 1,
        RaiseError => 1,
        PrintError => 1
    }) or die "Connection failed!\n" . $DBI::errstr;