Database
oracle 12c (12.2.0.1) 유저 생성 명령어 + 권한 부여
KeuangKuo
2021. 6. 27. 11:07
ALTER SESSION SET "_ORACLE_SCRIPT"=true;
CREATE USER oracle
IDENTIFIED BY oracle;
CREATE USER jennifer
IDENTIFIED BY jennifer;
권한 부여는 sysdba 에서 실행
[ORACLE] ORA-01045
계정 접속이 되지 않는 에러
grant connect, resource to oracle;
grant connect, resource to jennifer;
ORA-01950: no privileges on tablespace 'USERS'
INSERT 가 되지 않는 문제
(특정 용량 만큼 사용 가능하도록 허용)
2GB (1024MB) 만큼 허용
alter user oracle quota 2048M on USERS;
alter user jennifer quota 2048M on USERS;
(무제한 사용권한)
grant unlimited tablespace to oracle;
grant unlimited tablespace to jennifer;