Help for this page
my $sth = $db->prepare("SELECT foo, bar FROM Cust_ac_da WHERE Customer +ID = ? AND #TranType= 'P'") or die "prepare failed: " . $db->errstr()."\n"; ... # do things with @stuff } $sth->finish;