Subject Re: [Firebird-Architect] NUMERIC vs DECIMAL
Author Martijn Tonies
> >Needless to say this stuff is all very sucky for tool developers
> >(isql included) and extract metadata... pff... Luckily, ODS10
> >brings RDB$SCALE ... that helps. A bit.
>
> FB 1.5 is ODS10.
>
> select * from rdb$scale

It's a new column in RDB$FIELDS. Ugh, I should be talking about
RDB$FIELD_PRECISION... :-/ ... It seems I'm getting rusty on the
sys-tables. :-0

Without F_PREC, you can't tell what the exact precision was, it
all got extracted as 5, 6 or 18 I believe - NUM(p, s) - before
ODS10.


With regards,

Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com