Subject | Re: Default Domains |
---|---|
Author | certfb |
Post date | 2011-08-19T09:53:15Z |
> I have both, domains with just the based simple datatype in its name, e.g.:Thanks Thomas, it is a big help.
>
> D_INT
> D_NUMERIC_15_2
>
> which are NOT NULL in naming convention or their nullable counterparts:
>
> D_INT_NULL
> D_NUMERIC_15_2_NULL
>
> using NULL as domain name prefix.
>
> The second approach is to put semantic into the domain name, e.g.:
>
> D_ZIP_CODE
> D_FIRSTNAME
>
> etc ... Or have special domains for primary/foreign key columns, e.g.:
>
> D_PK
> D_FK
> D_FK_NULL
>
I think I will bite the bullet and convert to user domains, at least it will make the db more consistent.
Mike