Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • All About oracle password and security from metalink Oracle
  • grep multuple patterns Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • First Entry in RAC Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • tracksqltime.sql Oracle
  • Jai Shree Ram Linux/Unix
  • How to choose Driver table in SQL statement Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • All About Trace Fils Oracle
  • Alter procedure auditing Oracle

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

  • Wait.sql Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Temporary Tablespace Information and restriction. Oracle
  • Create type and Grant on it. 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • 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
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • scripts to take listener.log backup Linux/Unix
  • Virtual Indexes in Oracle Oracle
  • Python class import from different folders Python/PySpark
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Set Role explaination. Oracle
  • Search and replace pattern Linux/Unix
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme