Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Reading parameter file and printing Linux/Unix
  • Check Oracle installed products using one command Oracle
  • plan10g.sql Oracle
  • Jai Shree Ram Oracle
  • Jai Shree Ram Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • process id based files and processes Linux/Unix
  • Multiple listeners Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • column level grant syntax Oracle
  • Ports used by Oracle Software Oracle
  • First Entry in RAC Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • All About oracle password and security from metalink Oracle
  • Rename Tablespace 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

  • metalink all dynamic view reference notes. Oracle
  • create database syntax Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • column level grant syntax Oracle
  • login.sql Oracle
  • Find nth max and min. 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • FRA Information. Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • First Entry in RAC Oracle
  • How to stop OCSSD Daemon Oracle
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Convert multiple rows to single column Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme