Re: C equivalent for Oracle NUMBER data type ?

From: Tommy Wareing <p0070621_at_oxford-brookes.ac.uk>
Date: 13 Jul 1993 05:35:03 -0500
Message-ID: <CA3MnC.KJJ_at_uk.ac.brookes>


Ernst Kloecker (ernst_at_cs.tu-berlin.de) wrote:
> What is a safe C equivalent for the Oracle data type number ? I am
> generating NUMBERs from a SEQUENCE and need to store them in C
> variables safely. (I am using a VARCHAR[40] right now, is that o.k. ?)
As far as I know, you have to convert them to character format. Bleurgh :-(
So yes, VARCHAR[40] is correct. Or any equivalent string type.

--
 _________________________   __________________________________________
/  Tommy Wareing          \ /  I've been looking for an original sin,  \
|  p0070621_at_uk.ac.brookes  X   One with a twist and a bit of a spin    |
\  0865-483389            / \     -- Pandora's Box, Jim Steinman       /
 ~~~~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Received on Tue Jul 13 1993 - 12:35:03 CEST

Original text of this message