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 -> OCI and NUMBER - how to use?

OCI and NUMBER - how to use?

From: S Quirk <s_quirk_at_my-deja.com>
Date: 2000/08/13
Message-ID: <8n4snu$8fh$1@nnrp1.deja.com>#1/1

I've got a NUMBER column, 'PERCENT'. I'd like to use it as a double in my program. I've bound the column according to the oci docs - to a 22 byte char field.

I fetch & the value successfully gets set, though it's not obvious to me how to convert that to a double.

I've tried OCINumber and the OCINumberToReal(), but I'm not using "object mode".

Any tips or pointers on where to read more?

Thanks,
Steve

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Sun Aug 13 2000 - 00:00:00 CDT

Original text of this message

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