Re: binary data type in Pro*C...

From: Jeffery Cann <jcann_at_fairway.com>
Date: 1998/03/17
Message-ID: <350E986A.E729871A_at_fairway.com>#1/1


Tse Ka Wai (CS) wrote:
>
> in Oracle database there is a data type to hold binary data called "raw".
> in Pro*C, what kind of C datatype should i use to hold that kind of data
> returned in a SQL statement such that minimum conversion is needed?

According to the pro*c manual (verision 2.2), you may use either unsigned char[n] or VARCHAR[n] for the Oracle datatype raw(x).

Let me know if this works for binary data. I am curious.

jeff

-- 
Jeffery C. Cann
Senior Software Engineer
Fairway Systems, Inc.
Received on Tue Mar 17 1998 - 00:00:00 CET

Original text of this message