PLS-00201错误触发的触发器必须声明为pls-00201

时间:2018-05-02 13:29:45

标签: oracle triggers

<div>
  <div>
    <p class="first">I come first</p>
  </div>
</div>

<div>
  <div>
    <p class="second">I come second</p>
  </div>
</div>

嘿伙计们,我得到了这个错误总是我把每个权限都放到我的用户身上 它说:

编辑后

CREATE OR REPLACE TRIGGER trg_test
AFTER DELETE
ON ADMİN.KULLANICILAR
for each row
DECLARE
    v_username := USER;

BEGIN
    DBMS_OUTPUT.PUT_LINE(v_username);
END;

和错误一样,它将在apex上运行但不在oracle sql dev上运行:

CREATE OR REPLACE TRIGGER trg_test
AFTER DELETE
ON ADMİN.KULLANICILAR
for each row
DECLARE
    v_username nvarchar2(20) := USER;

BEGIN
    DBMS_OUTPUT.PUT_LINE(v_username);
END;

0 个答案:

没有答案