Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Order by with ROWNUM Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • exp syntax in oracle 10g Oracle
  • CPU speed on Linux Linux/Unix
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • oracle fast start failover best practice Oracle
  • ipcs -l Linux/Unix
  • Important Solaris Commands Linux/Unix
  • Oracle Internal Good Websites 1 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

  • get_vmstat_linux Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • 10g oem configuration Oracle
  • The most important Tuning Notes Oracle
  • Specify the Rollback segment to use in Transaction 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
  • Flowers Resize datafiles Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • perf_today.sql Oracle
  • Committing distributed transaction using commit force Oracle
  • create PLAN_TABLE command. Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • First Entry in RAC Oracle
  • oracle Dba site Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme