Previous Topic: Defining KeysNext Topic: Setting up Catalog Views


Defining Sets as Referential Constraints

Because members of sets usually do not contain foreign keys that reference the owner record, the set specification statement can be used to include the set name in the join criteria for two non-SQL records. For example:

SELECT M.NAME FROM OWNER O, MEMBER M
       WHERE O.NAME='BILL' AND "OWNER-MEMBER"

Note: For more information about modifying set definitions, see the CA IDMS Database Administration Guide.