how to set the oracle_sid
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: how to set the oracle_sid

  1. #1
    Join Date
    Jun 2003
    Location
    australia
    Posts
    74

    how to set the oracle_sid

    hi all oracle guru's,
    i had a database(v9i) on my winxp system. i dropped the database and re created a new db. now everytime at the command prompt i have to type this:

    C:> set ORACLE_SID=mydb

    and then login to the sqlplus.

    Is there any way that i can set this so that i dont have to enter everytime and how do i do that.

    any suggestions would be gr8.

    rajorcl

  2. #2
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    You can set it in environment vaiables.
    Few clicks somewhere around system->properties.
    Sanjay G.
    Oracle Certified Professional 8i, 9i.

    "The degree of normality in a database is inversely proportional to that of its DBA"

  3. #3
    Join Date
    Jan 2000
    Location
    Chester, England.
    Posts
    818
    Edit the registry!

    The ORACLE_SID node somewhere down HKEY_LOCAL_MACHINE | SOFTWARE | ORACLE | HOME...

    Set it to your desired SID and it'll default to that everytime you log on. We do it all the time, don't we Jeff?

  4. #4
    Join Date
    Dec 2000
    Location
    Brazil / São Paulo
    Posts
    97

    Re: how to set the oracle_sid

    C:> set ORACLE_SID=mydb
    and then login to the sqlplus.
    You connect only one database ?
    Márcio de Souza Almeida
    DBA Oracle / SQLServer / PostgreSQL
    Rua Cupa, 139 Apto 85 A
    Penha - São Paulo - SP
    03640-000 - Brasil
    http://www.directory.com.br

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width