Hi All,
My code is generating a series of sql statements where one of them is used in the end. One of them is faulty...instead of manually searching for the statement that is incorrect, can I instead "fetch" the statement from the dbh object when the error occurs?
E.g.:
$sth->execute() or warn ("Couldn't execute statement - ???");