Subject | Re: [ib-support] Domains and decimals |
---|---|
Author | Claudio Valderrama C. |
Post date | 2001-08-08T06:28:41Z |
""Leeway"" <lee@...> wrote in message
news:9kdi7h+7k8m@......
already FLOAT and you don't want to change it, you could try to cast it to
numeric(N,4) in dialect 3, but it will be slow if you do the conversion on
each query, better redefine your field.
C.
news:9kdi7h+7k8m@......
> I have a lot of floating fields in my database all assigned to aUse dialect 3 and a numeric field with 4 decimal digits. Or if your field is
> domain.
> I want all those fields truncated to 4 digits after the decimal point.
> Is there a way to do this without truncating them in the program, but
> thruncating them in the database ?
already FLOAT and you don't want to change it, you could try to cast it to
numeric(N,4) in dialect 3, but it will be slow if you do the conversion on
each query, better redefine your field.
C.