* ERwin Builtin Trigger */
/* Internet_store Warehouse on child update restrict */
/* ERWIN_RELATION: CHECKSUM = "00000000", PARENT_OWNER = "", PARENT_TABLE = "Internet_store" _OWNER = "", CHILD_TABLE = "Warehouse" C_VERB_PHRASE = "" ;, C2P_VERB_PHRASE = "", _CONSTRAINT = "R_1", FK_COLUMNS = "ID_store" */count (*) INTO NUMROWSInternet_store
/*% JoinFKPK (:% New, Internet_store, "=", "AND") */
: new.ID_store = Internet_store.ID_store; (
/*% NotnullFK (:% New, "IS NOT NULL AND") */= 0
) _application_error (
,
'Cannot update Warehouse because Internet_store does not exist.'
); IF;
- ERwin Builtin Trigger;