Create Control file manually - Oracle
When to create control files ? => Create control files in situations when : 1. You have lost all your control files. 2. When you want to rename your database name (db_name); Note :although we can use utility called DBNEWID to change the DBNAME. DBNEWID can be used to change : -- Only the DBID of a database -- Only the DBNAME of a database -- Both the DBNAME and DBID of a database How to create control files. You need a create controlfile script for recreating control files. Code: SQL*Plus: Release 11.2.0.0 - Production on Fri Feb 28 17:04:00 2003 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. Enter user-name: sys as sysdba Enter password: Connected to: Enterprise Edition Release 11.2.0.0 - Production With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options SQL> alter database backup controlfile to trace; Database altered. SQL> This will create a trace file in the udump directory. In my case it was E:\oracle\ad...