Error: ORA-04072: invalid trigger type

Error: ORA-04072: invalid trigger type

我做了以下触发器:

create or replace trigger check_club_location
before of insert or update on club
for each row 
declare cnt number;
begin
    select count(*) into cnt
    from club
    where club.location = :new.location;

    if (cnt > 0) then
    raise_application_error (-20100, 'Erro: ja existe club nessa localizacao.');
    end if;
end;
/

我在Oracle APEX中尝试运行这个触发器后,出现如下错误信息:

ORA-04072: invalid trigger type.

我已经尝试了很多修复,但不幸的是 none 对我的触发器起作用了。

你打错了

before of insert or update on club

删除 "of",Oracle 抱怨 "of" 不是有效的触发器类型