php.net |  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
 [2008-05-23 16:04 UTC] dbennett at bensoft dot com
Description:
------------
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.




Patches

Pull Requests

History

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 Dec 22 06:01:30 2024 UTC