Subject | Re: [firebird-support] Changing numeric domain precision and scale |
---|---|
Author | Martijn Tonies |
Post date | 2007-03-08T14:15:35Z |
Hi Erick,
that holds less values.
Database Workbench - development tool for Firebird and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
> I want to change a domain NUMERIC(18,4) to NUMERIC(15,2). Is there anyYou cannot. Firebird will not allow you to alter to a datatype
that holds less values.
> special instructions recommended or just an ALTER DOMAIN will do theMartijn Tonies
> job, converting all my data?
>
> I may have values with more than 2 decimals, so I think the decimals
> will be converted and the rest will be fine, right? I don't have
> numbers greater than 15 digits.
>
> Is it required/recommended to do a backup/restore after this change?
Database Workbench - development tool for Firebird and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com