Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: simple question about printing sql 2000 error message

by gmax (Abbot)
on Oct 07, 2003 at 06:59 UTC ( [id://297216]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect("dbi:driver:database",
        "user","password", 
    ...
         print "There was an error ($DBI::errstr)\n";
         # do something appropriate
    }
    
  2. or download this
    my $sql = "INSERT INTO t1 (lsname) VALUES ( ? )";
    my $sth;
    ...
         # do something appropriate
    }
    
  3. or download this
     _  _ _  _  
    (_|| | |(_|><
     _|
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found