SYS@PROD>drop tablespace users including contents and datafiles;
drop tablespace users including contents and datafiles
*
ERROR at line 1:
ORA-12919: Can not drop the default permanent tablespace
不能删除当前默认永久表空间
若要删除则需要创建新的默认表空间,之后才能删除当前默认表空间
alter database default tablespace new_name ;
oerr ora 12919
--查看错误类型,在Linux的Oracle用户下执行 oerr ora 错误名
[oracle@jibo ~]$ oerr ora 12919
12919, 00000, "Can not drop the default permanent tablespace"
// *Cause: An attemp was made to drop the default permanent tablespace
// *Action: Make a different tablespace as the default permanent tablespace
// and reissue the drop
[oracle@jibo ~]$