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.

Similar Messages

  • How to rename the column name in oracle 8i?

    hi,
    Does anyone know how to rename the column name in oracle 8i?My method was drop the relationship key first then delete the old column,finally add the new column.
    Thanks for your replay.
    jing

    There is no facilty to rename a column name in Oracle 8i. This is possible from Oracle 9.2 version onwards.
    For you task one example given below.
    Example:-
    Already existed table is ITEMS
    columns in ITEMS are ITID, ITEMNAME.
    But instead of ITID I want ITEMID.
    Solution:-
    step 1 :- create table items_dup
    as select itid itemid, itemname from items;
    step 2 :- drop table items;
    step 3 :- rename items_dup to items;
    Result:-
    ITEMS table contains columns ITEMID, ITEMNAME

  • Where can I download the ODBC driver for Oracle 10g XE?

    where can I download the ODBC driver for Oracle 10g XE?
    I need the ODBC drivers for windows 7 x64, I installed Oracle Database 10g Express Edition, the use and connects with RazorSQL well, I just want to make a connection THROUGH ConnectionString language using the ODBC driver

    already checked these http://www.connectionstrings.com/oracle, I need Help Please.

  • Rename the database name

    I am installed oracle10g on widows-xp and i am created database my database name is orcl2
    now i want to change the database name orcl2 to orcl1
    i am following these steps...
    1)SHUTDOWN IMMEDIATE
    2)STARTUP MOUNT
    3)% nid TARGET=SYS/password@orcl1 DBNAME=orcl2 SETNAME=YES
    4)SHUTDOWN IMMEDIATE
    5)Set the DB_NAME initialization parameter in the initialization parameter file to the new database name.
    6)Create a new password file.
    7)STARTUP
    but i got an error at #3 ie
    SP2-0734:unknown command ignoring '% nid....
    and
    tell me how to create new password file
    and
    i have another doubt ie
    Are these steps applicable for all Oracle versions? or is there any specific version these steps compatible?
    could you please help me
    Thanks
    Rakesh

    Hi
    create a new password file by
    orapwd utility
    Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n>
    where
    file - name of password file (mand),
    password - password for SYS (mand),
    entries - maximum number of distinct DBA and force - whether to overwrite existing file (opt),
    OPERs (opt),
    There are no spaces around the equal-to (=) character.
    Thanks
    Kuljeet Pal Singh

  • How can i change the database name on MaxDB?

    Hello.  I need to do a homogeneous copy where the source system is the productive system and the target system is the quality system. Therefore after to restore the data backup i need to change the database name of quality system (from CLP to CLQ) but i'm not sure that it could be possible because in the MaxDB documentation i didn't found nothing about that. please can you tell me if it is possible and how i change it?
    I work with MaxDB 7.6.04.11.  Thanks for your help.

    > I will try to explain better: the SID of the source database is CLP and the SID of the target database is CLQ, when you say "once you restore the DB, it will use the new SID", i understand that the new SID in the target database would CLP or am i wrong? and i need that the SID in the target database remains CLQ after the restore.
    Hi Ivonne,
    what you've described as your requirement is exactly what will happen, when you just perform the procedure that Eric described to you.
    A recovery won't change the SID of the instance you perform the recovery to.
    All it does is: take the instance as is and load the data pages to the data area. Afterwards the log files may be recovered.
    Think of the instance as a kind of container for your database.
    The instance itself is not the database - so the SID does not change with the content of the database.
    Hmm... why not simply try it?
    Create a little test instance and back it up.
    Create another instance with a different name and recover the backup of the first instance.
    You will still have both instances, each with its original name.
    regards,
    Lars

  • Database Service Name or Global Database Name with Oracle 10G, when Oracle

    I have an old installation of Oracle 9i (SID=ORCL) and now have installed Oracle 10G (SID=ORC2). I can get connection to Oracle 10G if i define it as an Oracle 8 compatible identification (ie I access to a SID, and don´t provide a Service Name.
    Now I want to install Oracle HTML DB, and succeeded to install the SQL-script that came with the download, but when I install Apache and HTML DB from the Oracle Companion CD I am asked to give the Database Service Name (in the Help it is explained as the Global Database Name).
    When i give the Net Service Name I get error messages (incomprehensible).
    When I look in Net Manager, the Net Service Name does not have a Service Name, but only points to a SID (ie ORC2).
    Where can I find the Database Service Name (or Global Database Name), OR define it if it is not defined??
    Thanks for your help,

    create a net service for oracle10g and provide the name of this service during HTML DB installation it is required for installation.

  • Can't Create the ODBC connection for Oracle 10g

    Hi,
         I am working with Oracle 10g Database Release 2 in windows XP professional. I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
    system error code 998
    could not locate the setup or translator library
    Please help me how can I solve this problem and create the ODBC connection for oracle 10g database.
    Best Regards,

    mwz wrote:
    I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
    system error code 998
    could not locate the setup or translator libraryThe symptom described is typical of an incorrect system env PATH setting (used by the data source admin tool), compared to that of the Oracle Home (specifically, path $OH/bin). The odbc driver config routine will search directories listed in PATH variable for necessary libraries (Client dll's). If some library fails to load (from e.g. oraoci*.dll or oraclient10.dll) it will probably error out, as in your case.
    Are you creating the odbc dsn on the databse server host or on some other machine? I.e. are you using the db host as a client or not?

  • How can i download the latest dumps for oracle 10g

    how can i download the latest dumps for oracle 10g

    It's NOT permissible to use Oracle dumps for passing certification exams!
    Please, refer to below links for more information about "using dumps"
    http://www.certguard.com/braindumps.asp
    http://ivan.kartik.sk/index.php?show_article=39
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • DB can not open after renaming the database name

    Hi all,
    I wanted to change the db name so i created new controlfile with trace and set it as.I have created controlfile successfully,my db opened successfully but when i shut it down and again tried it to open i saw below error message
    CREATE CONTROLFILE SET DATABASE "db2" RESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\REDO01.LOG' SIZE 50M,
    GROUP 2 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\REDO02.LOG' SIZE 50M,
    GROUP 3 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\REDO03.LOG' SIZE 50M
    -- STANDBY LOGFILE
    DATAFILE
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSTEM01.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\UNDOTBS01.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSAUX01.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\USERS01.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB2.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB21.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB211.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB212.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB213.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB214.DBF',
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB215.DBF'
    CHARACTER SET WE8MSWIN1252;
    ALTER DATABASE OPEN RESETLOGS;
    SQL> @e:\creatdbdb2.sql;
    Control file created.
    Database altered.
    SQL> select file_name from dba_data_files;
    FILE_NAME
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB215.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB214.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB213.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB212.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB211.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB21.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB2.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\USERS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSTEM01.DBF
    11 rows selected.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 222301060 bytes
    Database Buffers 381681664 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1:
    'C:\ORACLE\PRODUCT\10.2.0\DB_3\DATABASE\LOG2db2.ORA'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.

    my database is opening file now....but i have one Q i have already created init.ora for db2 database as initdb2.ora and given all controlfile location same....but why i was facing the issue? my olde initdb2.ora as below
    db_cache_size=436207616
    java_pool_size=4194304
    large_pool_size=4194304
    shared_pool_size=159383552
    streams_pool_size=0
    background_dump_dest='e:/db2/bdump'
    compatible='10.2.0.1.0'
    control_files='e:\db2\control01.ctl','e:\db2\control02.ctl','e:\db2\control03.ctl'
    core_dump_dest='e:\db2\cdump'
    db_block_size=8192
    db_file_multiblock_read_count=16
    db_name='db2'
    #db_recovery_file_dest='e:\db2\flash_recovery_area'
    db_recovery_file_dest_size=2147483648
    dispatchers='(PROTOCOL=TCP) (SERVICE=db2XDB)'
    job_queue_processes=10
    log_archive_format='ARC%S_%R.%T'
    open_cursors=300
    pga_aggregate_target=203423744
    processes=150
    remote_login_passwordfile='EXCLUSIVE'
    sga_target=612368384
    undo_management='AUTO'
    undo_tablespace='UNDOTBS1'
    user_dump_dest='e:\db2\udump'

  • Want to modify the Global Database Name in Oracle 10g R2

    Hi All,
    I have a global database name like GS77.UK.ORA.COM , I want it to be just GS77.What are the possible workarounds for modifying this.
    Thanks & Regards,
    Gaurav S.

    If your problem is really just the global name, yes.
    You can check with
    Select * from global_name;
    Check the documentation first to ensure you checked all implications first
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1004.htm#i2079942
    Regards,
    PP

  • Issue with renaming the package name from "Oracle" to "oracle" in windows

    Hi all,
    I created a project in which initially I created all the jsffs in a package Oracle/communications. In one of the jsff pages(a.jsff) I have include tag <jsp:directive.include file="/*Oracle*/communications/b.jsff"/>
    But later I refactored the code and renamed the package to oracle/communications and I modified the include tag to <jsp:directive.include file="/*oracle*/communications/b.jsff"/>
    But after that change also when I deploy the ear and try to access the a.jsff, I am getting the file not found exception.
    Root cause of ServletException.
    oracle.jsp.parse.JspParseException:
    /adflib/oracle/communications/a.jsff: Line # 19, <jsp:directive.include file="/Oracle/communications/b.jsff" xmlns:jsp="http://java.sun.com/JSP/Page"/>
    Error: Include file not found: /Oracle/communications/b.jsff
    Do I need to change any other configuration file?
    The same ear when deployed in linux is working absolutely fine.
    Thanks in advance,
    Vamsi

    Windows doesn't know the difference between upper case and lowercase file names. So renaming Oracle to oracle will not change the file name.
    To change the file name you have to rename it from Oracle to xxoracle and then to oracle.
    Timo

  • How can I Calcualte the geometric mean in oracle 10g

    dear all
    plz I need a function to calculate the geometric mean
    I uses oracle 10g
    thanks in advance

    Hi,
    Solomon Yakobson wrote:
    select  power(10,sum(log(10,val)) / count(*))
    from  value_table
    I'm sure you meant count *(val)*, not count (*).
    You can also use AVG instead of SUM and COUNT.
    There's nothing specail about the number 10; any number greater than 1 will do; just be sure to use the same number in both POWER and LOG. If you used e, that would be equivalent to using EXP and LN instead of POWER and LOG, so why not use EXP and LN in the first place?
    SELECT       job
    ,       power(10,sum(log(10,sal)) / count(*))     AS gm1
    ,       POWER ( 2
              , AVG (LOG (2, sal))
              )                    AS gm2
    ,       EXP (AVG (LN (sal)))               AS gm3
    FROM       scott.emp
    GROUP BY  job
    ORDER BY  job
    ;Output:
    JOB              GM1        GM2        GM3
    ANALYST         3000       3000       3000
    CLERK     1021.02742 1021.02742 1021.02742
    MANAGER    2748.9445  2748.9445  2748.9445
    PRESIDENT       5000       5000       5000
    SALESMAN  1391.57884 1391.57884 1391.57884

  • Rename the Company Name in test company

    I did the backup then restore database from SQL Server. I noticed the test company has same Company Name only the Database Name is different from Original Database Name.  
    Can I rename the Company Name to distinguish with the Original Database now?  I get confused when I did some testing not even to users.
    Thanks,

    Not only you can, buhttps://forums.sdn.sap.com/post!reply.jspa?threadID=1175227#t also you must.  Otherwise you or other people will be confused sooner or later.  It is very easy to change company name.

  • How to know the database name?

    I have installed oracle 10g and developer suite.. I am trying to create forms now.
    But its error out: TNS: could not resolve the connect identifier specified!!!
    I forgot the Data base name.. How can I know the database name??
    Thanks in Advance!!!!!!!!!!

    I have installed oracle 10g and developer suite.. I'm sorry, but you are going to have be more specific as what you installed!
    If you installed Oracle Database 10g Express Edition then it is not (by default) configured to allow a connection through SQL*Plus. It is primarily configured to open a connection through the "Go To Database Homepage" url/link in the Start Menu => Oracle Database 10g Express Edition => Go To Database Homepage. In order to connect to the database from SQL*Plus (which is included with Oracle Developer Suite 10g) you will need to run the Net Configuration Assistant to configure your TNSNAMES.ora and SQLNET.ora files. Go to Start Menu => Oracle - DevSuiteHome1 => Configuration and Migration Tools => Net Configuration Assistant to run the assistant. After you run the assistant, test to make sure can connect through SQL*Plus before you attempt to connect through Forms.
    Hope this helps,
    Craig...

  • Change the Database Name in Essbase Studio

    Hi All,
    Happy new year to all of you.
    Is there a way to change the database name in Essbase Studio, what I can see now once we have registered a database in Database Sources panel, we can't change the Database Name because it is always grayed out but the server name, user name and password can be changed.
    Actually I have mentioned this issue to our team before starting development and they proposed me the schema that I can use, but suddenly our client did not agree with it that we have been using, and then our client asked us to use another schema, FYI we are using Oracle Database as the data source.
    Can you guys here share how to manage this situation.
    Thanks,
    Rudy

    For Essbase Studio, the configuration metadata are saved as CP_tablenames, look for the CP tables, and make proper database change for the database name.
    1. Make a Oracle backup for the CP tables before you change the metadata so that you can get back in case if error
    2. Change the CP_CONNECTION TABLE, NAME column
    3. Change the CP_SOURCE table, column DNAME, for example, it is called TBC.Sales, change to NewDB.Sales
    I am not sure if there are other table also need to be updated, anyway, when you update the DBname in the metadata level, everything should be consistent in all of the related tables. Here, I assume the new db has the same table names as the old db, if the new db has very different table names, recreating everything may be easier and has less risk.
    http://hyperionexpert.blogspot.com/
    Bob

Maybe you are looking for

  • I have 4 items in my download itunes store that keep trying to download even deleted them - How can I make them go away forever

    About a year ago - I rented a few movies, and I didn't have enough room to move them to my ipad at the them.  Whenever I sync my ipad from here on out, the movies continue to try to download, I have deleted them from the download queue, but they are

  • How do I recover my lost files?

    Greetings, Two days ago, in attempt to clean up my computer, I transferred all of my files to an external hard drive, including my LR files with a document ending in, ".ircat". When I tried to open LR yesterday, none of my files appeared.  I put the

  • Background and Screen Savers

    How do i change the Background of the desktop and the Sreensaver? sorry if this is in the wrong section, i wasn't sure of where to put this tread. and aslo, the bit where you press menu on your remote and the new srceen comes up where you can view pi

  • Java.lang.OutOfMemoryError: PermGen space

    <Oct 25, 2011 12:15:53 AM IST> <Error> <netuix> <BEA-423405> <An exception [java.lang.OutOfMemoryError: PermGen space] w as thrown while rendering the content at [jsp/changemgmt/ChangeManager.jsp]. javax.servlet.ServletException: java.lang.OutOfMemor

  • I can't configure and create xorg.conf [ATI drivers]

    Anybody have an idea HELP!!. I cannot create xorg.conf. Follow this steps, but i can't configure this drivers.  :x My VGA is ATI 9550. [root@nube jack]# pacman -Q ati-fglrx ati-fglrx-utils ati-fglrx 8.25.18-1 ati-fglrx-utils 8.25.18-1 # dmesg Linux a