다른 스키마에 테이블 생성하기 위한 권한 부여
grant create session to <user>;
grant create table to <user>;
grant create any table to <user>;
grant create any index to <user>;
grant comment any table to <user>;
테이블이 있는데 ora-00942
(혹은 테이블이 있는데 dbeaver등에서 보이지 않는 경우)
-> 테이블에 권한이 없는 경우이므로 권한 부여
grant select, insert, update, delete, alter on <테이블 이름> to <user>;
권한부여 관련 reference:
https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=geeyoming&logNo=220077370376
https://logic.edchen.org/how-to-resolve-ora-01031-insufficient-privileges/
How to Resolve ORA-01031: Insufficient Privileges - Ed Chen Logic
ORA-01031: Insufficient Privileges means that the current user did not use the right privilege to process the SQL statement.
logic.edchen.org
'개발일기 > DataBase' 카테고리의 다른 글
[MySQL] mysql 최초 로그인 에러 - ERROR 1045 (28000): Access denied for user, mysql root 계정 비밀번호 변경 (0) | 2023.09.11 |
---|---|
[oracle db] ORA-00955: name is already used by an existing object (0) | 2023.02.16 |
[db] oracle db 계정 잠금 해제 (0) | 2023.01.31 |
[db] oracle db 사용자 검색 및 생성 (0) | 2023.01.11 |
[db] oracle db 설치 및 에러 핸들 (0) | 2023.01.10 |