RE: Retrieving data from Oracle
- From: Ron.Reidy@xxxxxxxxxxxxxxxxxx (Ron Reidy)
- Date: Tue, 31 May 2005 09:14:07 -0600
What does "not working" mean? I use fetchrow_hashreaf all the time and it works very well.
-----------------
Ron Reidy
Lead DBA
Array BioPharma, Inc.
-----Original Message-----
From: PerlDiscuss - Perl Newsgroups and mailing lists
[mailto:sangeeth.vs@xxxxxxxxxxxx]
Sent: Tuesday, May 31, 2005 8:35 AM
To: dbi-users@xxxxxxxx
Subject: Retrieving data from Oracle
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
This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is intended
to be for the use of the individual or entity named above. If you are not the
intended recipient, please be aware that any disclosure, copying, distribution
or use of the contents of this information is prohibited. Please notify the
sender of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.
.
- Prev by Date: Retrieving data from Oracle
- Next by Date: Re: Retrieving data from Oracle
- Previous by thread: Re: Retrieving data from Oracle
- Index(es):
Relevant Pages
|