egdb3_11_7
.asset
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
copy_location_validate_edit()
Parameters
Name
Type
Mode
IN
Definition
BEGIN IF OLD.id = 1 THEN IF OLD.owning_lib != NEW.owning_lib OR NEW.deleted THEN RAISE EXCEPTION 'Copy location 1 cannot be moved or deleted'; END IF; END IF; RETURN NEW; END;