Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


Specifies whether Caché should check this foreign key constraint.


To prevent Caché from checking the constraint defined by this foreign key, use the following syntax:

ForeignKey keyname(key_props) References pkg.class(ref_index) [ NoCheck ];

Otherwise, omit this keyword or place the word Not immediately before the keyword.


The NoCheck keyword suppresses the checking of the foreign key constraint (in other words, it specifies that the foreign key constraint never be checked).


If you omit this keyword, Caché does check the foreign key constraint.

See Also