Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> fetching OIDs with OCI

fetching OIDs with OCI

From: <car_door1_at_my-deja.com>
Date: Wed, 14 Jul 1999 15:50:50 GMT
Message-ID: <7mibkl$jqf$1@nnrp1.deja.com>


I'm implementing an application that displays the text value of REF column OIDs and row OIDs. I'm able to fetch the OID into an OCIRef * using OCI, but I'd like to know how to get the "text" of the OID so I can display it. That is, I'd like to get a string like "0002084eafef...". By following the OCIRef * pointer I get back, I'm able to get most of the first OID. I don't get the first byte, though, and I can't seem to find subsequent OIDs.

I tried fetching the OID into a SQLT_STR, but I got an "inconsistant dataypes" error.

Thanks.

Charles

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Wed Jul 14 1999 - 10:50:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US