--- Stuart <smcg2297(at)frii(dot)com> wrote:
> > you will need to use pre insert trigger since you cannot use column
> > references in default expression.
> >
> > you could use this same trigger to either:
> > - create sequences as needed and apply the right one
> > - with locking, lookup for last id of typ
> > - with locking, keep another table of typ and nextval
here is supplementary information of gap-less sequences:
http://www.varlena.com/GeneralBits/130.php
Regards,
Richard Broersma Jr.