Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Retreiving Column/Table Names from a Query Using OCI
I have an application that I am trying to switch from "BDE to ODBC to
oracle" to OCI directly.
The problem I have having is that the application uses dynamic queries.
If I have a query like
SELECT * from A, B WHERE A.X = B.X
I need to know in the result set which columns come from A and which come from B. Unfortunately, when I use the examples in the OCI manual, only the column name gets returns.
How can I get the table name for a column in a result set? Received on Mon Jul 01 2002 - 17:14:25 CDT