Subject | Re: [firebird-support] NUMERIC(18,0) |
---|---|
Author | Helen Borrie |
Post date | 2006-09-19T00:15:09Z |
At 12:19 AM 19/09/2006, you wrote:
non-negative values, you should constrain it to reject negative values, e.g.
create domain d_unsigned_big as bigint
check (value is null or value >= 0)
./heLen
>When I make a field of the subject type, what is the maximum (largest)If you want to force the column (or domain) to accept only
>integer I can put into the field. The docs say there is a difference
>between signed and unsigned. So where do I "tell" firebird that I
>want this to be an unsigned field so I can get the max unsigned
>integer value into the field?
>
>If I only enter unsigned values into the field, and never once enter a
>signed value, does that mean I can just "keep going" and stuff in
>unsigned integer values and just "expect" FB to "know" that I want an
>"all unsigned" values field?
non-negative values, you should constrain it to reject negative values, e.g.
create domain d_unsigned_big as bigint
check (value is null or value >= 0)
./heLen