EBS: 序号授权 GRANT

-- 测试数据库: ORACLE 11G2R
-- Create sequence
create sequence CUX.CUX_HR_MONTH_PROCESS_S
minvalue 1
maxvalue 9999999999999
start with 1
increment by 1
cache 10;


CREATE SYNONYM APPS.cux_HR_MONTH_PROCESS_S FOR CUX.CUX_HR_MONTH_PROCESS_S;

分配给用户1 执行序号的程序。

-- ORA-02205: only SELECT and ALTER privileges are valid for sequence
GRANT SELECT,ALTER ON CUX.CUX_HR_MONTH_PROCESS_S TO USER1;

 

posted @ 2021-12-13 17:20  samrv  阅读(46)  评论(0编辑  收藏  举报