Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Jai Shree Ram Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • Oracle 10g Wait Model Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • dbinv.sql Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Changing default shell Linux/Unix
  • executing Function from SQLPLUS prompt Oracle
  • nfs mount command Linux/Unix
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • Find sort details from Db find_sort.sql Oracle
  • reset Sequence Oracle
  • Building Our Own Namespaces with “Create Context” Oracle
  • Search and replace editor command in vi Linux/Unix

Drop database in Oracle 10g

Posted on 04-Apr-2008 By Admin No Comments on Drop database in Oracle 10g

Dropping a Database in 10G Consists of the following steps.

echo $ORACLE_SID

sqlplus “/as sysdba”

SQL> startup nomount;

ORACLE instance started.

Total System Global Area 1077936128 bytes

Fixed Size 2034344 bytes

Variable Size 427824472 bytes

Database Buffers 633339904 bytes

Redo Buffers 14737408 bytes

SQL> alter database mount exclusive;

Database altered.

SQL> alter system enable restricted session;

System altered.

SQL> select name from v$database;

NAME

———

TEST

SQL> drop database;

Database dropped.

Database is dropped & all related files are deleted automatically.

Please be very cautious while using this syntax in multidatabase environment.

Oracle, SQL scripts

Post navigation

Previous Post: find the files that are 1 day old.
Next Post: fdisk -l explaination about Primary-Logical-Extended Partitions

Related Posts

  • Good Site for Oracle Internals Oracle
  • RAC with RHEL4 and 11g Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • Jai Shree Ram Oracle
  • import-export with multiple files Oracle
  • USE_NL and INDEX hints example Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Rename Oracle Instance Name Oracle
  • Oracle Statspack survival Guide Oracle
  • Roles and Stored Procs II Oracle
  • sess_server.sql Oracle
  • Finding locked objects Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • Insert cause enqueue locks Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme