in reply to Database Connectivity
after connecting to the database. Then you don't have to write:$dbh->{'RaiseError'} = 1;
You can just write:$sth->prepare("YOUR SQL HERE")or die "blah $DBI::errstr";
If the function fails, DBI will die and give you the reason.$sth->prepare("YOUR SQL HERE");
|
|---|