deleted of control file how will u recover control file?

Answer Posted / kittu_chintu2005

Method 1:
SQL>STARTUP NOMOUNT;
SQL>CREATE CONTROLFILE REUSE DATABASE "DB_NAME" ARCHIVELOG RESETLOGS
LOGFILE
GROUP 1 ( 'location of redo1a.log','location of redo1b.log') size XXmb,
GROUP 2 ( 'location of redo2a.log','location of redo2b.log') size xxmb
DATAFILE
'location of system.dbf',
'location of users.dbf',
'location of temp.dbf',
'location of ts1.dbf';
SQL>RECOVER DATABASE;
SQL>ALTER DATABASE OPEN RESETLOGS;

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Draft one mock email requesting your non-technical management grant you downtime to (provide justification where applicable) complete the following tasks: (1) Generate statistics on a large table; (2) Generate an RDA – if you don't know what an RDA is please say so. (3) Rename datafiles.

1696


how can you find out if a table can be redefined?

599


What are statistics, under what circumstances they go out of date, how do you update them?

1814


What authentication modes does sql server support? : sql server DBA

703


What are the new features in sql server 2005 when compared to sql server 2000? : sql server DBA

620






How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

1591


What the different topologies in which replication can be configured? : sql server DBA

666


What is the importance of a recovery model? : sql server DBA

557


What purpose does the model database server? : sql server DBA

631


what is the last version,the release date of that version and fix pack of ibm db2 udb?

1529


Claims and Drains are the locks used to control the concurrency between SQL processes and utilities. Referring to the above statement, what is the maximum number of concurrent Claimers for a Subsystem? Choice 1 32 Choice 2 64 Choice 3 128 Choice 4 256 Choice 5 No limit

1840


How can you control the amount of free space in your index pages? : sql server DBA

745


What is transparent data encryption? : sql server DBA

568


what is the use of ocr?

602


Explain about your sql server dba experience? : sql server DBA

551