Subject | Re: [ib-support] check constraint stops working after backup and restore |
---|---|
Author | Raymond Kennington |
Post date | 2002-09-11T23:29:11Z |
Tomas Michalik wrote:
Raymond Kennington
>Not an answer to your question, but I'd use a foreign key constraint instead of a domain.
> Hi,
>
> my problem is:
> I create a domain with check constraint.
>
> e.g.
> ALTER DOMAIN D_TRANSPORT_TYPE_ID
> ADD CHECK (exists
> (
> select *
> from transport_types
> where tt_id = value
> ))
>
Raymond Kennington