Hi all, I'm a DBI newb, trying to pull some data from a DB2 database. This was actually working yesterday, but part way through the day, I started getting an error from my $dbh->prepare. If I changed something, I have no idea what. I have:
my $stmt = "select id from db2inst1.users where user=?"; my $sth = $dbh->prepare($stmt) or die "\n\nCouldn't prepare statement: $DBI::errstr\n"; But the die does not happen: DBD::DB2::db prepare failed: Error calling SQLGetInfo at advisors.pl line 46, <S TDIN> line 5. At this point I am not sure where to look. Any pointers would be appreciated. Thanks, Mark