php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: russlndr at online dot no
New email:
PHP Version: OS:

 

 [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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-23 16:44 UTC] thies@php.net
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: Fri Dec 27 10:01:28 2024 UTC