|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
32 + 42 = ?
Subscribe to this entry?

 [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-2023 The PHP Group
All rights reserved.
Last updated: Sun Sep 24 08:01:25 2023 UTC