Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Problem in Pro*C
Hello,
I am trying to run a little program, where in i try to insert values into
a table through pro *c.
The structure of the table is something like this..
Name Null? Type ------------------------------- -------- ---- CARRIER_ID NOT NULL NUMBER(2) GSAS NOT NULL CHAR(19)------- FAMILY_DEDUCT NOT NULL NUMBER(6,2) FAMILY_IND_DEDUCT NOT NULL NUMBER(6,2) ANNUAL_MAX NOT NULL NUMBER(8,2) LIFETIME_MAX NOT NULL NUMBER(10,2) ------ COB_FLAG NOT NULL CHAR(1) LOOKUP_RULES NOT NULL NUMBER(1)
It contains a field LIFETIME_MAX number (10,2)
In pro *c, i declared the SQL variables TEMP_LIFETIME_MAX as a double, I am reading the values to be inserted from a file, and for diff recors TEMP_LIFETIME_MAX has values like
100000001/100 100000000/100 100999999/100
It is displaying 100000000/100 as :00000, instead of 1000000
GSAS LIFETIME_MAX ------------------- ------------
Can you tell me why this is happening..
Anil
Anil K Neela Ph: (618) 650 4026 E-mail: aneela_at_siue.edu URL: http://www.siue.edu/~aneelaReceived on Wed Apr 21 1999 - 16:37:30 CDT
*******************************************************************************