Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Composite Index creation tip from Vivek Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • scripts to take listener.log backup Linux/Unix
  • sesswait.sql Oracle
  • Database link password in user_db_links Oracle
  • plan10g.sql Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • Convert multiple rows to single column Oracle
  • Default User Profile Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • Query to Generate aggregate on every 30 mins. Oracle
  • How to remove blank lines using vi editor command 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

  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • create database syntax Oracle
  • Jai Shree Ram Oracle
  • Very clear article about oracle dataguard Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • EXTPROC Oracle

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Finding locked objects Oracle
  • secure crt settings Linux/Unix
  • Python class import from different folders Python/PySpark
  • How to calculate PROCESSES parameter Oracle
  • Removing first line Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • cache buffer chain latch Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme