Float, Integer, Largeint and Numbers
Posted: Tue 14 Dec 2010 01:43
Hello
ODAC 6.90.0.60+BDS2006
I am struggling in mapping of data among Float, Integer, LargeInt and Numbers, and always failed.
Image following Query:
select 1 as f1,
1.22 as f2,
1234567 as f3,
12345678901234567 as f4,
123456789012345678 as f5
from dual
And I expect that f1 be mapped into an Integer type, f2 for float, f3 for integer, f4 for integer, f5 for Largeint.
if I have set in the Orasession.Options as
EnableIntegers:=True;
EnableLargeint:=True;
EnableNumbers:=True;
Result: All files are mapped into ftNumbers.
if I set:
EnableIntegers:=True;
EnableLargeint:=True;
EnableNumbers:=False
then all the fields are mapped to ftFloat
It seems that the three Precisions:
IntegerPrecision,
LargeIntPrecision,
FloatPrecision
does not work?
ODAC 6.90.0.60+BDS2006
I am struggling in mapping of data among Float, Integer, LargeInt and Numbers, and always failed.
Image following Query:
select 1 as f1,
1.22 as f2,
1234567 as f3,
12345678901234567 as f4,
123456789012345678 as f5
from dual
And I expect that f1 be mapped into an Integer type, f2 for float, f3 for integer, f4 for integer, f5 for Largeint.
if I have set in the Orasession.Options as
EnableIntegers:=True;
EnableLargeint:=True;
EnableNumbers:=True;
Result: All files are mapped into ftNumbers.
if I set:
EnableIntegers:=True;
EnableLargeint:=True;
EnableNumbers:=False
then all the fields are mapped to ftFloat
It seems that the three Precisions:
IntegerPrecision,
LargeIntPrecision,
FloatPrecision
does not work?