Solved

echosid

Posted on 2014-11-11
4
79 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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best RAID for a BDD Oracle 4 69
Oracle Pivot Question 8 64
form builder not starting 3 40
Oracle Query - Return results based on minimum value 8 32
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

831 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