Re: from pgsql_perl5 to DBD-Pg
- From: "Bob" <catdogbeloved@xxxxxxxxx>
- Date: 26 Feb 2007 06:08:47 -0800
At pg. 149, the book "Programming PERL DBI" says that the method "do"
"should not be used for SELECT statements because it does not return a
statement handle (so you can't fetch any data)". I guess this is the
reason for the above error, and the reason for an annoying rewriting,
as the following does not work.
# [1]: $dbh->exec("<SQL STATEMENT>");
# [2]: $dbh->do("<SQL STATEMENT>");
.
- References:
- from pgsql_perl5 to DBD-Pg
- From: Bob
- from pgsql_perl5 to DBD-Pg
- Prev by Date: Re: DBD::Oracle question?
- Next by Date: Re: from pgsql_perl5 to DBD-Pg
- Previous by thread: Re: from pgsql_perl5 to DBD-Pg
- Next by thread: Re: from pgsql_perl5 to DBD-Pg
- Index(es):