Subject Re: [firebird-support] ALTER DOMAIN problem
Author Helen Borrie
At 11:20 AM 9/04/2004 +0000, you wrote:
>Hi,
>
>I was expecting this error : I have a domain MYNUMBER NUMERIC(15,3). I
>want to change it to NUMERIC(15,6). I got the following error :
>"Conversion from base type DOUBLE PRECISION to BIGINT is not supported."
>
>But it seems I can change it to DOUBLE PRECISION. Would that be a good
>idea for the underlying data ? I just need more decimals.

This is a tricky question. You have here a dialect 1 database. We can
discern that because Dialect 1 integers don't have enough precision to
support NUMERIC(15,2) so your domain is stored a double. Dialect 3 *can*
support a true NUMERIC(15,6).

Since you have been working with a double up to now, changing it to
"something else" probably won't make any difference if you don't upgrade
the database to dialect 3.

/heLen