Thread: Arrays and constraints

Arrays and constraints

From
Daniel Savard
Date:
I would like to know if there is a way to define a constraint for the
values of an array type?

For example, if I define a table where column A is an integer[] and each
value must be an index to an element in another table. How can I do this
without the help of a third table holding relations between objects?

Is it possible? Is there any shortcomings doing things this way?

--

=======================================
Daniel Savard
=======================================