Re: Table that contains the Oracle_SID of the database ?

From: Bjorn Engsig <bengsig_at_dk.oracle.com>
Date: 22 Jun 93 11:22:18 GMT
Message-ID: <1993Jun22.112218.4743_at_dk.oracle.com>


I lost track of references, but the question was:

> Can you get your ORACLE_SID by a select statement.

The answers posted are all retrieving the database name as set in the init.ora file upon database creation. This is NOT necessarily the same as the ORACLE_SID, although Oracle recommends you to make these two the same.

There is really no way to retrieve the value of the ORACLE_SID environment as a select statement.

EXEC SQL INCLUDE standard.disclaimer

-- 
Bjorn Engsig, ORACLE Corporation
Internet: bengsig_at_oracle.com, uucp: uunet!oracle!bengsig
Received on Tue Jun 22 1993 - 13:22:18 CEST

Original text of this message