Page 1 of 1

EnableFMTBCD & EnableNumbers options

Posted: Wed 20 Jan 2016 17:10
by dados
Hi,

What is the difference between using EnableFMTBCD and EnableNumbers options in TOraSession?

I have a table with a number column that no precision or scaling defined and it contains a number that is upto 21 in length.

If both options are false I get something like 1.4324254897E3 but if either one is true the number is displayed correctly.
If both options are set to true the default is that I get TFMTBCDField
The help/doc file is not quite up-to-date: https://www.devart.com/odac/docs/?devar ... ptions.htm
as there is no mention of BCD fields or BCD options.

So witch one should I use for large oracle numbers TFMTBCDField or TOraNumberField ?
And what is the difference between those two?
And does it affect speed when using those enable[datatypes] options in TOraSession?

-Arni

Re: EnableFMTBCD & EnableNumbers options

Posted: Wed 27 Jan 2016 09:01
by dados
Anyone ?

Re: EnableFMTBCD & EnableNumbers options

Posted: Wed 27 Jan 2016 10:49
by MaximG
On EnableNumbers=True the dataset fields with Precision > 15 will be mapped as TOraNumberField.

On EnableBCD=True the dataset fields with Precision > 9 And Scale <5 will be mapped as TBCDField.

On EnableFMTCD=True the dataset fields with Precision > 15 will be mapped as TFMTBCDField.

Re: EnableFMTBCD & EnableNumbers options

Posted: Wed 27 Jan 2016 12:15
by dados
Thanks

Re: EnableFMTBCD & EnableNumbers options

Posted: Thu 28 Jan 2016 09:48
by MaximG
Feel free to contact us if you have any further questions