Hello,
Do constraints do a full table scan of the referencing table before it allows the deletion of a record from the referenced table?
Am trying to decide if this is a worthwhile overhead, or if I'd be better sticking with stored procedures/triggers which check if records exist in the referencing table by doing SELECT count(*) from T_REFERENCING where id = OLD.ID before allowing users to delete records via frontend.
Thanks
Graeme
Do constraints do a full table scan of the referencing table before it allows the deletion of a record from the referenced table?
Am trying to decide if this is a worthwhile overhead, or if I'd be better sticking with stored procedures/triggers which check if records exist in the referencing table by doing SELECT count(*) from T_REFERENCING where id = OLD.ID before allowing users to delete records via frontend.
Thanks
Graeme