Solved

echosid

Posted on 2014-11-11
4
80 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 77

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

820 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