简体   繁体   中英

Invalid option for Create tablespace

I'm trying to create a tablespace using the following code:

CREATE SMALLFILE TABLESPACE COMPSCI100BFALL2020
DATAFILE '/u01/app/oracle/oradata/orcl/COMPSCI100BFALL2020.DBF' SIZE 500M AUTOEXTEND OFF
NOLOGGING
DEFAULT NOCOMPRESS
ONLINE
EXTENT MANAGEMENT LOCAL AUTOALLOCATE
SEGMENT SPACE MANAGEMENT AUTO;

But I keep getting this error:

ERROR at line 7:
ORA-02180: invalid option for CREATE TABLESPACE

Can anyone explain what's wrong here?

Could you please try below code.

CREATE TABLESPACE COMPSCI100BFALL2020
DATAFILE '/u01/app/oracle/oradata/orcl/COMPSCI100BFALL2020.DBF' SIZE 500M AUTOEXTEND OFF NOLOGGING
DEFAULT NOCOMPRESS
ONLINE EXTENT MANAGEMENT LOCAL AUTOALLOCATE
SEGMENT SPACE MANAGEMENT AUTO;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM