-- ------------------------------------------------------------------------------------------------
-- [ 인사관리 ] 발령 시퀀스 생성
conn system/built123$@ndb;
-- ------------------------------------------------------------------------------------------------
-- 시퀀스 생성
drop sequence bhrm.hrm_assignment_s;
create sequence bhrm.hrm_assignment_s
minvalue 1
maxvalue 999999999999
start with 10000
increment by 1
order;
-- 권한 부여
grant select on bhrm.hrm_assignment_s to bsys with grant option;
grant select on bhrm.hrm_assignment_s to bcom with grant option;
-- 시노님 생성
conn bsys/1234@ndb;
create or replace synonym hrm_assignment_s for bhrm.hrm_assignment_s;
conn bcom/1234@ndb;
create or replace synonym hrm_assignment_s for bhrm.hrm_assignment_s;
'오라클 > 시퀀스(인사관리)' 카테고리의 다른 글
[ 임직원 ] 시퀀스 생성을 아래와 같이 진행합니다. (0) | 2024.04.07 |
---|---|
[ 조직도상세 ] 시퀀스 생성을 아래와 같이 진행합니다. (0) | 2024.04.07 |
[ 조직도 ] 시퀀스 생성을 아래와 같이 진행합니다. (0) | 2024.04.07 |
[ 부서 ] 시퀀스 생성을 아래와 같이 진행합니다. (0) | 2024.04.07 |
[ 사업장 ] 시퀀스 생성을 아래와 같이 진행합니다. (0) | 2024.04.07 |