How to rename a Database - 10g

Hello Experts,
Can anyone please provide me all steps to rename a stand alone database. Any pointers would be of much help.
Thanks

D:\>NID
DBNEWID: Release 10.2.0.1.0 - Production on Thu Jan 5 13:11:53 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Keyword Description (Default)
TARGET Username/Password (NONE)
DBNAME New database name (NONE)
LOGFILE Output Log (NONE)
REVERT Revert failed change NO
SETNAME Set a new database name only NO
APPEND Append to output log NO
HELP Displays these messages NO

Similar Messages

  • How to rename a database

    Hello Gurus,
    Due to some reason I need to rename my database.Can anybody tell me how to rename a database.
    Secondly,What should be the criteria to fix the size of archive log.i.e.What should we keep in mind while deciding the size of archive log?
    Thanx

    For the first question:
    http://www.google.co.uk/search?hl=en&q=oracle+rename+database&btnG=Google+Search&meta=
    With regards to the archive logs, these are needed to recover your backed up datafiles. So, what you keep is largely determined by your backup strategy. Check out:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14220/backrec.htm#sthref2338

  • How to Connect Oracle Database 10g Express Edition ?

    From example
    http://www.oracle.com/technology/obe/hol08/dotnet/getstarted-c/getstarted_c_otn.htm
    using Oracle.DataAccess.Client; // ODP.NET Oracle managed provider
    using Oracle.DataAccess.Types;
    string oradb = "Data Source=ORCL;User Id=hr;Password=hr;";
    OracleConnection conn = new OracleConnection(oradb); // C#
    conn.Open(); <== Connect Error
    Error Message "ORA-12154: TNS:could not resolve the connect identifier specified"
    I used
    Visual Studio 2005
    Oracle Database 10g Express Edition
    setup "Oracle Developer Tools for Visual Studio .NET with ODAC 10.2.0.2.21"
    Best Regards,
    Edited by: user1949694 on 8 ก.ย. 2552, 9:20 น.

    I search "tnsnames.ora" in my computer. I found 3 file
    1. C:\oraclexe\app\product\10.2.0\server\hs\admin\tnsnames.ora
    2. C:\oraclexe\app\product\10.2.0\server\NETWORK\ADMIN\tnsnames
    3. C"\oraclexe\app/product\10.2.0\server\NETWORK\ADMIN\SAMPLE\tnsnames
    How to entry in your tnsnames.ora file File1, File2, File3
    How to called "ORCL"?
    Please Help Me Step by Step
    Thank You.
    : )

  • How to install Oracle Database 10g for windos vista

    hia
    i am new student in a collage and i started learn SQL command
    i want to practice SQL command in my Laptop
    i downloaded Oracle Database 10g Release 2 (10.2.0.3) for windows vista
    but i have difficult to install it i mean i wana know the steps to install oracle
    could u show me by photo or video how to install oracle in my labtob
    also some of my friend said u should have a local server in ur labtop to make oracle programe work .... is it true??
    if it correct learn me how to make it and connect it to oracle
    also some of my friend said u should have a this information form oracle web side
    USER NAME :
    PASSWORD:
    HOTAGE STRING :
    please help me

    haloooooo
    i am waiting for somebody to help me
    nobody can
    pliz pliz plizPlease, please, please understand that this forum is populated with unpaid volunteers. It's not a help desk.
    The complete installation installation guide is included with the installation software. It is also part of the exhaustively complete documentation set for every oracle product found at tahiti.oracle.com. Go there, select your product and version. When you arrive at the page for your specific product version, somewhere on that page (location varies between versions) you will find a link to the installation guide.
    Also please note that there are several versions of Vista, and the Oracle db is not certified for all of them, but only for specific versions.

  • How to Connect Oracle Database 10g with using Oracle Dev 10g

    Hello there,
    I have problem with connection on database 10g using oracle dev 10g on the same server.
    The message is: TNS... bla..bla... it means not connect.
    Please advice
    Regards
    Leksono

    just simple
    copy the from the database instance the tnsnames.ora
    file's entried into developer folders tnsnames.ora
    file and you can connect to DBFirst of all there is no such error as TNS... bla..bla... it means not connect.
    there are several errors for the tnsnames, post the exact error
    And it is not recommended that you copy it from the database's tnsnames file, it doesn't always work.
    to configure the tnsnames.ora you have 2 ways, manual and GUI.
    For GUI use the Net configuration assistance from your Devsuite home and for manual you need edit the tnsnames.ora file usually under %ORACLE_HOME%/NETWORK/ADMIN
    You need to specify the connection string name, the hostname and the database SID name. It should look something like this.
    <connection identifier> =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = host name)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = SID)
      )Regards,
    Tony

  • How to Upgrade Oracle Database 10g Release 1 to Release 2...?

    Hii all,
    Presently, I am using Oracle Database 10g Release 1 on Windows XP. I want to know where can I get the Release 2 patches?
    Thanks & Regards,
    Hemant.

    Hi,
    search in metalink the Note: 316889.1
    You'll find your answer. :-)
    Acr

  • How to rename oracle9i database in windows 2000

    Hi All,
    I am trying to rename an oracle database on windows 2000. I am having some issues...can anyone help me how to fix it.
    Trace file is created from existing database (ORCLDB) using alter database backup controlfile to trace
    and the following steps are followed....
    Modify (and optionally rename) the created trace file:
    Find the line reading # Set #2. RESETLOGS case
    Remove all lines above this line.
    Change the line containing the database name from CREATE CONTROLFILE REUSE DATABASE "ORA9" RESETLOGS NOARCHIVELOG
    to
    CREATE CONTROLFILE SET DATABASE "CAT" RESETLOGS NOARCHIVELOG
    Note, in my case, the database is running in noarchive log mode. The corresponding line reads ARCHIVELOG otherwise.
    Remove the line reading RECOVER DATABASE USING BACKUP CONTROLFILE.
    Remove lines starting with #.
    the edited .trc file is saved as rename.sql
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "NEWORCLDB" RESETLOGS NOARCHIVELOG
    -- SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 16
    MAXLOGMEMBERS 2
    MAXDATAFILES 30
    MAXINSTANCES 1
    MAXLOGHISTORY 454
    LOGFILE
    GROUP 1 'd:\oracle\databases\redo1.ora' SIZE 100M,
    GROUP 2 'd:\oracle\databases\redo2.ora' SIZE 100M,
    GROUP 3 'd:\oracle\databases\redo3.ora' SIZE 100M
    -- STANDBY LOGFILE
    DATAFILE
    'd:\oracle\datafile\system.dbf',
    'd:\oracle\datafile\undo.dbf',
    'd:\oracle\datafile\data.dbf'
    CHARACTER SET WE8ISO8859P1
    ALTER DATABASE OPEN RESETLOGS;
    ALTER TABLESPACE TEMP ADD TEMPFILE 'd:\oracle\Ora90\databases\temp.dbf'
    SIZE 104857600 REUSE AUTOEXTEND OFF;
    shutdown the ORCLDB databas from windows services
    Moved the old control file to other location
    The database name are changed in the new initneworcldb.ora
    Bcaz there is no SVRMGRL in 9i....How do i connect ??
    Which instance should i connect?
    I tried from c:\>sqlplus "/ as sysdba"
    Its asking for username and password?
    Which username/password@instnace should i login?
    What is the username and password....should i give for username....while funning sqlplus " / as sysdba"
    Thanks,
    Message was edited by:
    user444626

    As you said added the entry in the sqlnet.ora file
    sqlnet.authentication_services=(NTS)
    C:\>ORADIM -NEW -SID newdb -SRVC OracleServicenewdb -STARTMODE a
    C:\>set ORACLE_SID=NEWDB
    C:\>SQLPLUS /NOLOG
    SQL*Plus: Release 9.0.1.0.1 - Production on Fri Dec 9 20:28:18 2005
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    SQL> @C:\CR_CONTROL.SQL
    ORA-01031: insufficient privileges
    SP2-0734: unknown command beginning "STANDBY LO..." - rest of line ignored.
    SP2-0640: Not connected
    SP2-0734: unknown command beginning "Recovery i..." - rest of line ignored.
    SP2-0734: unknown command beginning "or if the ..." - rest of line ignored.
    SP2-0640: Not connected
    Media recovery complete.
    SP2-0734: unknown command beginning "All logs n..." - rest of line ignored.
    SP2-0640: Not connected
    SP2-0734: unknown command beginning "Database c..." - rest of line ignored.
    SP2-0640: Not connected
    SQL>
    Message was edited by:
    user444626

  • How To Uninstall Oracle Database 10g Express Edition - SOLVED

    Hi,
    Can someone please let me know how to uninstall this as I don't seem to be able to see an Oracle Installer app by where I can uninstall?
    Is it straight forward - are there some scripts I can run?
    Thanks.
    Tony.
    Solved
    refer to: http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#CIHDDHJD
    Message was edited by:
    Tony F.
    Message was edited by:
    Tony F.

    I search "tnsnames.ora" in my computer. I found 3 file
    1. C:\oraclexe\app\product\10.2.0\server\hs\admin\tnsnames.ora
    2. C:\oraclexe\app\product\10.2.0\server\NETWORK\ADMIN\tnsnames
    3. C"\oraclexe\app/product\10.2.0\server\NETWORK\ADMIN\SAMPLE\tnsnames
    How to entry in your tnsnames.ora file File1, File2, File3
    How to called "ORCL"?
    Please Help Me Step by Step
    Thank You.
    : )

  • How to rename database in oracle 8.0.5 unix?

    how to rename database in oracle 8.0.5 unix? for example from 'DBDEV' to 'DBTEST'

    Dear Amardeep,
    The OP opened 2 threads, one how to clone and other one how to rename a database 8. The article I send show how to clone the DB (one of the steps in the clone article is how to rename the DB from"PROD" to "Test"). ;)
    This is the other thread:
    easy way to clone database
    Cheers,
    Francisco Munoz Alvarez
    www.oraclenz.com

  • Missing Downloads of Oracle Database 10g Release 1

    Does anyone know how to download Oracle Database 10g Release 1 for Non Mac OSX operating systems?
    It seem to have disappeared from the download page , only the Mac OSX version remains.
    http://www.oracle.com/technology/software/products/database/index.html
    I can still download a full range or oracle 9i software for all the different OS's.
    Any ideas??
    Thanks
    Matt

    11g is now on its way, all platforms (except MacOS) support 10gR2, that may be the reason, why Oracle no longer offers 10gR1 for downloading.
    Werner

  • Can we rename the database name in oracle 10g

    Hi,
    Can we rename the database name in oracle 10g.
    Please help

    Yes as already said, using DBNEWID Utility can renamed the database name.
    You can also take a look at the Oracle Metalink Note:429674.1 (Which was written by me) - Subject: How We Used the Oracle DBNEWID Utility to Change the Database Name
    Regards,
    Sabdar Syed.

  • How to 100% Protect PL/SQL Code By Wrapped in Oracle Database 10g R2

    Hello,
    Is Possible to 100% Protect PL/SQL Code By Wrapped in Oracle 10g R2 ?
    If it is not possible by wrap in oracle 10g R2,
    Please, let me suggest, how i will be able to 100% protect PL/SQL code in Oracle Database 10g R2.
    Because, I have lot of functions, procedures & package's in my project.
    Which is running in field filed.
    So, i have needed to protect 100%.
    Also, will i convert to al functions, procedures & package's to .pll file ?
    And .pll file to .plx file?
    Is it possible to convert .plx file to .pll file ?
    Please, let know any better solutions in this case....
    Regards
    Mehedi

    Hello,
    No, wrapping is not a 100% secure method. It could prevent your code from amateurs, but not from professional hackers. Look at the article http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/wrap.htm#BEHGBJAA
    It says: "•Wrapping is not a secure method for hiding passwords or table names.
    Wrapping a PL/SQL unit prevents most users from examining the source code, but might not stop all of them."
    Edited by: apiminov on 03.12.2012 3:23
    Edited by: apiminov on 03.12.2012 3:24

  • How to install Oracle Label Security in Oracle Database 10g EE

    Hello All
    I just want to know how to install Oracle Label Security in Oracle 10g Database EE.
    I read in Oracle Enterprise Manager Grid Control Installation and Basic Configuration that Label Security must be installed before installing Enterprise Manager Grid Control.
    I have Oracle Database 10g Release 1 (10.1.0.1) on my Windows XP System, and I patch it to 10.1.0.3.
    M.
    Sorry about my English.

    Options is to connect to Oracle Policy Manager or use Oracle Internet Directory (OID)to administer Oracle Label Security.
    Find more ways in the Documentation here:
    http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14267/toc.htm

  • How to Switch between Databases in ORACLE 10g?

    Hi friends, im using ORACLE 10g.
    I have two databases namely ORCL and ORCL1.
    First I created ORCL and later ORCL1.
    Now I am able to see the tables from ORCL1 only.
    How can I switch to ORCL?
    Thanks in advance.

    Hi Aman, I am posting the results below.
    From the command prompt:
    C:\>SET ORACLE_SID=ORCL
    C:\>SQLPLUS
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Feb 19 18:12:24 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    SQL> SELECT * FROM TAB;
    TNAME TABTYPE CLUSTERID
    DEPT TABLE
    EMP TABLE
    BONUS TABLE
    SALGRADE TABLE
    SB4782 TABLE
    EDNLN270042 TABLE
    CASE_DETAILS TABLE
    7 rows selected.
    SQL>
    And from the SQL*Plus Editor:
    SQL> SET ORACLE_SID=ORCL;
    SP2-0735: unknown SET option beginning "ORACLE_SID..."
    SQL> SELECT * FROM TAB;
    TNAME TABTYPE CLUSTERID
    DEPT TABLE
    EMP TABLE
    BONUS TABLE
    SALGRADE TABLE
    SQL>
    So, I am able to get the tables through the command prompt.
    But from the SQL*Plus Editor, I am not getting them.
    How to get those tables(from ORCL) through the SQL*Plus editor?
    Is there any other alternative for setting the ORACLE_SID permanently?
    Thank you.

  • Oracle Database 10g Express Edition How to change the prot 8080 ????

    Hello I have installed Oracle Database 10g Express Edition
    it listen to port 8080 how can I change it to prot i want ?
    Thanks

    Above post addressed you query. But i suggest Book Mark following doc,it will address most of the queries regarding XE Database
    Oracle Database Express Edition 2 Day DBA

Maybe you are looking for

  • What is the latest version of bluetooth that works with IOS 6.1.6 on an iphone 3gs

    what is the latest version of bluetooth that works with IOS 6.1.6 on an iphone 3gs??  I'm thinking of getting some bluetooth earbuds, but don't know if 6.1.6 will work with any bluetooth version beyond v2.1...Any thoughts, anybody???

  • Oracle login problem in 10g xe

    hi, i have install the oracle database 10g xe on the DELL branded machine and the os is windows server 2003 . i install the oracle login as the os local administrator and it work fine but when i login as the domain user or as the domain administrator

  • Busy greeting does not play when I am on another call

    My busy greeting does not play when I am on another call. My regular greeting plays. I called verizon and they gave me some **bleep** about how that feature doesn't work if you have call waiting. It USED to work for me and why do they promote it as a

  • Photoshop elements and premiere 12

    I have photoshop elements and premiere 12.  I have been unable to edit my pictures.  I can go to the organizer but cannot go to editor.  It will tell me to sign in and acts like it is goint to work but nothing happens, it just stops and stays on orga

  • File expander/converter

    sorry i dont feel like looking through the forums if someone could give me the best file expander/converter id love it freeware would be great and im looking to get .rar files to music the macbook cant find out how to open them so im thinking what i