Subject Re: ODBC with BDE
Author andre_peron
Thank's Dimitry

Where can i find XTG ODBC driver? Is it free and open source?

I looked at ODBC firebirs' sources and i found 2 selects: the first
in IscColumnsResultSet.cpp "rdb$field_scale as decimal_digits" and
the second in IscSpecialColumnsResultSet.cpp "(f.rdb$field_scale * -
1) as decimal_digits". Is the bug in the first select?
I don't have C++ compiler and don't know nothing about C++. Can
anybody compile and send me?

Thanks

Andre

--- In ib-support@y..., "Dimitry Sibiryakov" <SD@t...> wrote:
> On 12 Jun 2002 at 20:03, andre_peron wrote:
>
> >I discovered some thing. Delphi's "SCALE" field property shows -2.
Is
> >a ODBC (Firebird) bug?
>
> It is definitely ODBC driver's bug.
> -2 is a native IB scale. It means that returned integer value
must
> be multiplied by 10^-2. ODBC scale must be = -(IB scale).
> XTG ODBC driver doesn't have this bug.
>
> SY, Dimitry Sibiryakov.