Oracle 11中怎么删除数据库
这篇文章将为大家详细讲解有关Oracle 11中怎么删除数据库,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。
1- 导入数据库的SID,如果没有定义的话
exportORACLE_SID=database2- 以操作系统认证连接数据库
[oracle@Oracle11~]$sqlplus/assysdbaSQL*Plus:Release11.2.0.1.0ProductiononMonDec117:38:022014Copyright(c)1982,2009,Oracle.Allrightsreserved.Connectedtoanidleinstance.3- 启动数据库实例
SQL>startupORACLEinstancestarted.TotalSystemGlobalArea3340451840bytesFixedSize2217952bytesVariableSize1828718624bytesDatabaseBuffers1493172224bytesRedoBuffers16343040bytesDatabasemounted.Databaseopened.4- 关闭数据库
SQL>shutdownimmediate;Databaseclosed.Databasedismounted.ORACLEinstanceshutdown.5- 启动独占模式
SQL>startupmountexclusiverestrictORACLEinstancestarted.TotalSystemGlobalArea3340451840bytesFixedSize2217952bytesVariableSize1828718624bytesDatabaseBuffers1493172224bytesRedoBuffers16343040bytesDatabasemounted.6- 删除数据库
SQL>dropdatabase;<br>Databasedropped.DisconnectedfromOracleDatabase11gEnterpriseEditionRelease11.2.0.1.0-64bitProductionWiththePartitioning,OLAP,DataMiningandRealApplicationTestingoptions
关于Oracle 11中怎么删除数据库就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。