ORA-25031: only a crossedition trigger may be specified
Cause: The trigger specified was not a crossedition trigger.
Action: Specify a crossedition trigger.
ORA-25031是一个数据库错误,表示只能指定跨版本触发器。
Crossedition trigger is an identifier used in the definition of the trigger that indicates whether the firing of the trigger is to be local to the edition specified in the current session or global to the entire database. If a trigger is defined as a crossedition trigger and a local trigger of the same name already exists in the edition in the current session, then an ORA-25031 is raised.
当在会话中指定当前版本的本地触发器时,如果已经存在相同名称的跨版本触发器,则会引发ORA-25031错误。
1.检查触发器定义,然后更新IT为跨版本触发器。
2.检查当前会话是否已指定特定的版本。如果是这样,使用ALTER SESSION SET EDITION命令将其更改为默认版本或不指定任何版本。
3.重新创建触发器。