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

Home -> Community -> Usenet -> c.d.o.server -> Re: getting OIDs with OCI

Re: getting OIDs with OCI

From: John Hatcher <jhatcher_at_uk.oracle.com>
Date: Fri, 16 Jul 1999 10:37:12 +0100
Message-ID: <7mmucm$g0e$1@inet16.us.oracle.com>


Charles,

Use OCIRefToHex to do it.

John.

car_door_at_hotmail.com wrote in message <7mibj1$jom$1_at_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 Fri Jul 16 1999 - 04:37:12 CDT

Original text of this message

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