Solved

echosid

Posted on 2014-11-11
4
74 Views
Last Modified: 2014-11-17
for windows

echo %ORACLE_SID%

What is equivalence in Sunsolaris or Windows.
0
Comment
Question by:jeevan mathew
  • 2
4 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 40436460
Unix and variations:
echo $ORACLE_SID

To set it:
export ORACLE_SID=ORCL

where ORCL is the correct SID.

I don't understand the second half  " or Windows"
0
 

Assisted Solution

by:jeevan mathew
jeevan mathew earned 0 total points
ID: 40436507
yes it was a mistake please ignore windows.

Thank you.
0
 
LVL 34

Expert Comment

by:johnsone
ID: 40437114
To clear up something, setting the ORACLE_SID in Unix variants does depend on the variant and which shell you are using.  This command:

export ORACLE_SID=ORCL

should work in most cases, but will not work in all cases.

Any system where you are using a true Bourne shell, that will not work, you would be required to do this:

ORACLE_SID=ORCL
export ORACLE_SID

Also, if you are using csh or one of its variants, the command would be different as well.  Not many people use that one anymore, but it is different.
0
 

Author Closing Comment

by:jeevan mathew
ID: 40446864
Compared.
instance information in windows and linux.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now