in reply to (jeffa) Re: Handling conditions DBI in Oracle 8.1
in thread Handling conditions DBI in Oracle 8.1
my $emp_exists_sth = $dbh->prepare_cached(q{ select 1 from employee where employee_number = ? }); ... my $found = $dbh->selectrow_array($emp_exists_sth, undef, $search_for_ +id); print "Not found\n" unless $found;
|
|---|