-- ------------------------------------------------------------------------------------------------
-- [ 시스템관리 ] 국가 시퀀스 생성
conn system/built123$@ndb;
-- ------------------------------------------------------------------------------------------------
-- 시퀀스 생성
drop sequence bsys.sys_country_s;
create sequence bsys.sys_country_s
minvalue 1
maxvalue 999999999999
start with 10000
increment by 1
order;
-- 권한 부여
grant select on bsys.sys_country_s to bcom with grant option;
grant select on bsys.sys_country_s to bhrm with grant option;
-- 시노님 생성
conn bcom/1234@ndb;
create or replace synonym sys_country_s for bsys.sys_country_s;
conn bcom/1234@ndb;
create or replace synonym sys_country_s for bsys.sys_country_s;
'오라클 > 시퀀스(시스템관리)' 카테고리의 다른 글
[ 우편번호 ] 시퀀스 생성을 아래와 같이 진행합니다. (0) | 2024.04.07 |
---|---|
[ 로그 ] 시퀀스 생성을 아래와 같이 진행합니다. (0) | 2024.04.07 |
[ 프로파일 ] 시퀀스 생성을 아래와 같이 진행합니다. (0) | 2024.04.07 |