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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2022 The PHP Group
All rights reserved.
Last updated: Sat Oct 01 22:05:53 2022 UTC