Re: database execute status

2002-08-30 Thread Wiggins d'Anconia
From > perldoc DBI $rc = $h->err; $str = $h->errstr; $rv = $h->state; You should look at the docs for DBI, error handling is described in detail. That should get you started http://danconia.org aman cgiperl wrote: > Hi All > Is there a way to check the s

database execute status

2002-08-30 Thread aman cgiperl
Hi All Is there a way to check the status of $sth->execute; to check if it successfully executed. Also if I pass on a query to a mysql database using perl's DBI, and suppose it runs into error, how can I capture that error. Thank you Aman