Subject Re: [ib-support] varchar(x) = Decimal(18)
Author Claudio Valderrama C.
""Junior Ang"" <junior@...> wrote in message
news:01a101c17d79$e95485f0$0601a8c0@w0006...
> Hi,
>
> Greetings. What's the safest value of 'x' if I want to cast a Decimal(18)
value to varchar(x)?

21. Experiment and see if you can produce a negative value that doesn't fit
in varchar(21) to be sure.

C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing