FSN#27454 DELETE trigger moet niet aan :NEW refereren
svn path=/Database/trunk/; revision=19106
This commit is contained in:
@@ -266,10 +266,9 @@ FOR EACH ROW
|
||||
BEGIN
|
||||
UPDATE ins_deel
|
||||
SET ins_alg_ruimte_type = 'R',
|
||||
ins_alg_ruimte_key = :new.prs_alg_ruimte_key
|
||||
WHERE ins_deel.ins_alg_ruimte_key = :NEW.prs_werkplek_key
|
||||
AND ins_deel.ins_alg_ruimte_type = 'W'
|
||||
AND ins_deel.ins_deel_verwijder IS NULL;
|
||||
ins_alg_ruimte_key = :old.prs_alg_ruimte_key
|
||||
WHERE ins_deel.ins_alg_ruimte_key = :old.prs_werkplek_key
|
||||
AND ins_deel.ins_alg_ruimte_type = 'W';
|
||||
END;
|
||||
/
|
||||
CREATE_TRIGGER(prs_t_prs_ruimteafdeling_B_IU)
|
||||
|
||||
Reference in New Issue
Block a user