Hi,

This is not a bug. The scale must be larger than the precision.

Regards,
Thomas

On Tuesday, June 16, 2015, <[email protected]> wrote:

> Hello,
>
> I am aware this is an old post, but I am seeing the same error on the
> latest 1.4.187 v of H2.
>
>   CREATE TABLE "TABLE1"
>    (
> "FAIL" NUMBER(6,24)
>     )  as select  0;
>
> Invalid value "24" for parameter "scale (precision = 6)"
>
> Artur
>
> On Saturday, May 28, 2011 at 12:37:46 PM UTC+1, Thomas Mueller wrote:
>>
>> Hi,
>>
>> This is a bug, I will fix it. As a workaround, use:
>>
>> create table t1(salary dec(15, 2)) as select  0;
>>
>> Regards,
>> Thomas
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to