Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • Find total file sizes Linux/Unix
  • Jai Shree Ram Oracle
  • How to see which patches are applied. Oracle
  • Optimizer SORT Operations Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • initUOCIOTTO.ora Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Insert cause enqueue locks Oracle
  • Find sort details from Db find_sort.sql Oracle
  • Korn Shell Arithmatic Linux/Unix
  • Wait Based Tuning Step by step with SQL statement 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

  • Alter procedure auditing Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • Rman Notes -1 Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Jai Shree Ram Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • on IBM-AIX for display Linux/Unix
  • Oracle Connections expire_time and firewall Oracle
  • USE_NL and INDEX hints example Oracle
  • setting prompt display with .profile Linux/Unix
  • Virtual Indexes in Oracle Oracle
  • Create type and Grant on it. Oracle
  • Insert cause enqueue locks Oracle
  • Drop tempfiles from database Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme