PROMPT Pokretanje datoteke vnn_poruke.sql

ALTER TRIGGER AR_S_PORUKE DISABLE;
ALTER TRIGGER AS_S_PORUKE DISABLE;
ALTER TRIGGER BS_S_PORUKE DISABLE;

ALTER TRIGGER AR_S_POR_JEZ DISABLE;
ALTER TRIGGER AS_S_POR_JEZ DISABLE;
ALTER TRIGGER BS_S_POR_JEZ DISABLE;

-- x = MAX (id) na i3instal
DELETE FROM s_poruke WHERE id > 5776;

@v251_poruke_delete.sql
@v251_poruke_insert.sql
@v251_poruke_update.sql

COMMIT;

ALTER TRIGGER AR_S_PORUKE ENABLE;
ALTER TRIGGER AS_S_PORUKE ENABLE;
ALTER TRIGGER BS_S_PORUKE ENABLE;

ALTER TRIGGER AR_S_POR_JEZ ENABLE;
ALTER TRIGGER AS_S_POR_JEZ ENABLE;
ALTER TRIGGER BS_S_POR_JEZ ENABLE;
