Subject | Re: [ib-support] Numeric and decimal |
---|---|
Author | Ivan Prenosil |
Post date | 2003-05-14T22:08:51Z |
From: "Sandor Szollosi" <ssani@...>
NUMERIC stores numbers with specified precision, while
DECIMAL stores numbers with precision equal or greater that specified one.
IB/FB does not distinguish these types (regarding precision);
both types effectively behaves like DECIMAL.
(e.g. you can store 1234567.89 into NUMERIC(6,2))
Ivan Prenosil
[ Looking for a job: InterBase - Firebird - Delphi - C - fulltext db - and more ... ]
Ivan.Prenosil@...
http://www.volny.cz/iprenosil/interbase
> Is there any documentation about differences between numeric andSQL standard requires that
> decimal datatypes.
> Data Definition Guide gives datails abuot them but I can't see
> differences right enough.
> If it possible to explain briefly help me folks pls.
NUMERIC stores numbers with specified precision, while
DECIMAL stores numbers with precision equal or greater that specified one.
IB/FB does not distinguish these types (regarding precision);
both types effectively behaves like DECIMAL.
(e.g. you can store 1234567.89 into NUMERIC(6,2))
Ivan Prenosil
[ Looking for a job: InterBase - Firebird - Delphi - C - fulltext db - and more ... ]
Ivan.Prenosil@...
http://www.volny.cz/iprenosil/interbase