|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58201 request MetaData access
Submitted: 2008-05-23 16:04 UTC Modified: 2008-06-03 20:34 UTC
From: dbennett at bensoft dot com Assigned:
Status: Wont fix Package: oci8 (PECL)
PHP Version: 5.2.4 OS: WinXP / Linux 2.6
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.
Block user comment
Status: Assign to:
Bug Type:
From: dbennett at bensoft dot com
New email:
PHP Version: OS:


 [2008-05-23 16:04 UTC] dbennett at bensoft dot com
Need to be able to access MetaData from an active statement.  Although column names are available from an OCI_ASSOC call, they do not contain the associated table names from a query.  We are currently parsing the SQL query to extract column table names on queries as a work-around but this is less than optimal.  The problem may go as deep as OCILIB in which case this may be a difficult feature to implement.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-03 20:34 UTC] christopher dot jones at oracle dot com
It is an Oracle database limitation.  From the Oracle 11g documentation "The table name is not returned by OCIDescribeAny() or the implicit use of OCIStmtExecute()".  If Oracle ever changes, we'll revisit OCI8's metadata.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 05:01:29 2024 UTC