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 -> Returning large numbers to Pro*C variable

Returning large numbers to Pro*C variable

From: <adas1_at_spspay.com>
Date: 1998/04/06
Message-ID: <6gaqj1$e05$1@nnrp1.dejanews.com>#1/1

Hi
Does anyone have ant experience retrieving large integer values from an Oracle Sequence ?
I am trying to retrieve a large number (Number (12)) from an Oracle Sequence into a Pro*C variable defined as "long long int" which is a 8-byte integer. This has been uncessful thus far as only the 4 leading bytes are populated and the trailing 4 bytes left untouched. Is there any other way to handle this except declare the return variable as a char string ?

TIA -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Mon Apr 06 1998 - 00:00:00 CDT

Original text of this message

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