Home » Infrastructure » Unix » unable to change SID on 10g (10g R2)
unable to change SID on 10g [message #305999] Wed, 12 March 2008 09:31 Go to next message
Messages: 75
Registered: February 2005
Karma: 0

I have 3 databases on the same server. one of them is a 9i db and the other 2 are 10g.

The environment variables are set and the SID is set to Prod1. I want to login to the Prod2 daabase, and when I give this command
export ORACLE_SID=PROD2, i get this error below.
$ export ORACLE_SID=prod2
ORACLE_SID=prod2: is not an identifier
ORACLE_SID=PROD2: is not an identifier

Am I missing something very basic here?

Re: unable to change SID on 10g [message #306004 is a reply to message #305999] Wed, 12 March 2008 09:37 Go to previous messageGo to next message
Michel Cadot
Messages: 65153
Registered: March 2007
Location: Nanterre, France, http://...
Karma: 0
Senior Member
Account Moderator
$ ORACLE_SID=prod2; export ORACLE_SID
The syntax depends on your shell.


Re: unable to change SID on 10g [message #306098 is a reply to message #305999] Wed, 12 March 2008 16:09 Go to previous message
Messages: 2794
Registered: April 2006
Karma: 0
Senior Member
Your ORACLE_HOME & PATH variables are going to change too. You may want to consider oraenv and/or coraenv in /usr/local/bin.
Previous Topic: Date function
Next Topic: ./dbstart: test: argument expected
Goto Forum:

Current Time: Tue Aug 22 11:50:26 CDT 2017

Total time taken to generate the page: 0.20538 seconds