Re: Is it ever legal (should be supported) to issue a non select in selectall_arrayref?
Tim Bunce <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 17, 2011 at 02:46:43PM +0100, Martin J. Evans wrote:
> >The only thing I'm not sure about is whether $sth->{NUM_OF_FIELDS} is always
> >set by $dbh->prepare, or whether some DBMS can't set it until you do
> >$sth->execute.
>
> Right now, I am unsure of that too.
Some can't at all, some don't as an optimization, and code using a DBI
proxy generally doesn't either.
Tim.