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 ~]$
本文详细介绍了在Oracle数据库中遇到无法删除默认永久表空间的错误(ORA-12919),并提供了解决方案。通过创建新的默认表空间后,可以顺利删除原有默认表空间。
2427

被折叠的 条评论
为什么被折叠?



