Subject Re: [Firebird-Architect] Domains and NOT NULL in PSQL
Author Dmitry Yemanov
"Martijn Tonies" <m.tonies@...> wrote:
>
> CAST(4 as D_BOOLEAN)
>
> where D_BOOLEAN is of type SMALLINT and has
> CHECK(value in (0, 1) or value is null)
>
> 4 is a valid SMALLINT, but not a valid D_BOOLEAN

Nice sample, thanks. Now I agree with Arno too :-)


Dmitry