欢迎光临
我们一直在努力

删除数据库的方法

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.

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。