[ora19c@datasvc ~]$ sqlplus
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Aug 31 08:28:25 2021
Version 19.8.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
Enter user-name: /as sysdba
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.8.0.0.0
SQL> create user test_0831 identified by test_0831 default tablespace users;
User created.
SQL> grant connect, resource to test_0831;
Grant succeeded.
SQL> conn test_0831/test_0831
Connected.
SQL> create table test (col1 number, col2 varchar2(10)) tablespace system;
Table created.
SQL> insert into test values (1,'test');
insert into test values (1,'test')
*
ERROR at line 1:
ORA-01950: no privileges on tablespace 'SYSTEM'
SQL> conn / as sysdba
Connected.
SQL> grant unlimted tablespace to test_0831;
grant unlimted tablespace to test_0831
*
ERROR at line 1:
ORA-00990: missing or invalid privilege
SQL> grant unlimited tablespace to test_0831;
Grant succeeded.
SQL> conn test_0831/test_0831
Connected.
SQL> insert into test values (1,'test');
1 row created.
SQL> commit;
Commit complete.
'Oracle > Admin' 카테고리의 다른 글
DDL문 추출 방법 (0) | 2016.11.18 |
---|---|
PK 변경절차 (0) | 2016.11.18 |
파티션 테이블 인덱스 DDL 작업 (0) | 2015.08.18 |
테이블의 move시에 인덱스는 어떻게 될까? (0) | 2015.04.30 |
[펌] AMM에 관한 Test Case (0) | 2013.04.16 |