Retrieving data from Oracle
- From: sangeeth.vs@xxxxxxxxxxxx (PerlDiscuss - Perl Newsgroups and mailing lists)
- Date: 31 May 2005 14:35:24 -0000
Hi,
I'm migrating a perl application in postgres to Oracle. Here, the data is
being retrieved as below.
while ($row = $sth->fetchrow_hashref()) {
push (@list,$row);
}
It looks like fetchrow_hashref() is not working with Oracle. But I'm able
to retrieve the data through fetchrow_array. Any idea why
fetchrow_hashref() is not working? Is there any other alternative for
fetchrow_hashref()? How do I accomplish the above with any other fetch
methods?
Thanks in advance.
Sangeeth
.
- Follow-Ups:
- Re: Retrieving data from Oracle
- From: Cosimo Streppone
- Re: Retrieving data from Oracle
- Prev by Date: RE: problem with DBD::Oracle
- Next by Date: RE: Retrieving data from Oracle
- Previous by thread: records returned by DBI::selectall_hashref() are not ordered
- Next by thread: Re: Retrieving data from Oracle
- Index(es):
Relevant Pages
|
|