Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Implementing Listener Security Oracle
  • Oracle Connections expire_time and firewall Oracle
  • sid_wise_sql.sql Oracle
  • find_err.sql for finding errors from dba_errors. Oracle
  • switchover for primary database Oracle
  • checking connectivity between two servers Linux/Unix
  • Find Command Linux/Unix
  • VIvek Encryption Package and Its Usage Oracle
  • get_vmstat_linux Oracle
  • Convert multiple rows to single column Oracle
  • fuser to check who is using diretory Linux/Unix
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • Jai Shree Ram Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • To see how much time or progress of long transaction 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

  • Changing Instance Name ( No DB_NAME) Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • sess_server.sql Oracle
  • Jai Shree Ram Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Oracle Metalink useful notes 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Good Oracle Architecture In Short and point to point Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • sqlnet.ora paramters Oracle
  • chk_space_SID.ksh Linux/Unix
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme