|Subject||Re: [Firebird-Architect] Domains and NOT NULL in PSQL|
> I'm not so sure I like the inheritance of the "not null" properties ofIMO, there are two different things -->
> the DOMAIN.
The "based on" approach, which uses the same datatype as the
the real "domain" approach, which uses the datatype, null-ability
and check constraint (given that it's a "domain").
Both features would be a "very nice to have" when it comes to
developing stored procedures.
If you're creating "based on", why would that include null-ability?
Why not add a "not null" to parameters as an additional feature,
making sure they are being passed values upon calling the procedure?
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Database development questions? Check the forum!