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
--
Georgia: Why am I not doing what they're doing?
Rube: Because you're doing what you're doing. When it's time for you
to do something else you'll do that.
READ CAREFULLY. By reading this email, you agree, on behalf of your
employer, to release me from all obligations and waivers arising from
any and all NON-NEGOTIATED agreements, licenses, terms-of-service,
shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure,
non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I
have entered into with your employer, its partners, licensors, agents
and assigns, in perpetuity, without prejudice to my ongoing rights and
privileges. You further represent that you have the authority to
release me from any BOGUS AGREEMENTS on behalf of your employer.
Thread Next