ORA-12919: Can not drop the default permanent tablespace

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 ~]$

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值