|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8374 Oracle 8 -> OCIFetchInto()
Submitted: 2000-12-22 06:10 UTC Modified: 2000-12-23 16:44 UTC
From: russlndr at online dot no Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.3pl1 OS: Don't matter
Private report: No CVE-ID: None
 [2000-12-22 06:10 UTC] russlndr at online dot no
The function OCIFetchInto() alters all fetched rows into an array. Let's say I've a query like this: "SELECT name FROM user". When this query is processed by OCIFetchInto() the array will look like this: array('NAME' => 'value'). The row name is changed into uppercase. Shouldn't it be lowercase as in the query?

In mysql_fetch_array() this works. I've been using mysql for a long time now. I have been accessing all arrays with lowercase. But now I have started on a new project where we are going to use Oracle. And now I have to go trought my scripts, and change all array keys into uppercase.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-23 16:44 UTC]
oracle does return all column names in uppercase, the driver does no magic to it - soory, that's the way 	it is.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 21:01:28 2024 UTC