ITPub博客

首页 > 数据库 > Oracle > 删除数据库的方法

删除数据库的方法

原创 Oracle 作者:波仔strong 时间:2018-01-27 18:31:38 0 删除 编辑
1.使用dbca
2.使用sql语句删除

SQL> shutdown immediate;   关闭数据库
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount restrict;       切换到nomount模式且为exclusive模式
ORACLE instance started.
Total System Global Area 1640484864 bytes
Fixed Size            1345296 bytes
Variable Size          973080816 bytes
Database Buffers      654311424 bytes
Redo Buffers           11747328 bytes

SQL> alter database mount exclusive;   将数据库设置为受限模式
Database altered.

SQL> drop database;  删除数据库
Database dropped.





来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31485142/viewspace-2150570/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2017-08-25

  • 博文量
    87
  • 访问量
    91912