级别 1 的错误 sql 权限不足 oracle

error sql at level 1 insufficient privilage oracle

SQL> flashback table ticket to timestamp TO_TIMESTAMP('13-11-2018 22:30:56', 
                                                      'dd-mm-yyyy hh24:mi:ss');
flashback table ticket to timestamp TO_TIMESTAMP('13-11-2018 22:30:56', 
            *                                    'dd-mm-yyyy hh24:mi:ss')

ERROR at line 1:

ORA-00604 : error occurred at recursive SQL level 1

ORA-01031 : insufficient privileges

P.S。 : 我已经添加了flashback any table系统权限。

很可能您有一个触发器,例如 after event 类型,其中包含一些阻止您执行与它们相关的命令行操作的操作。尝试禁用这些触发器,然后重试 flashback table ...

要检测障碍物,请使用:

select owner, trigger_name
  from user_triggers -- for current schema, might be replaced with "dba_triggers" for the whole
 where trigger_type = 'AFTER EVENT';