Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Determining if a DBI SELECT comes back empty

by jZed (Prior)
on Dec 05, 2003 at 22:14 UTC ( #312674=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (my $rows = $sth->execute) {
        if ($rows==0) {
    ...
       print "Failed execute: ". $sth->errstr;
    }
    $sth->finish;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://312674]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2020-01-28 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?