Solved

database

Posted on 2013-05-26
3
148 Views
Last Modified: 2013-06-01
why it is like this
no name for the database is found

[oracle@term2 newdb]$ echo %ORACLE_SID
%ORACLE_SID
[oracle@term2 newdb]$

what is the expected out put here....
0
Comment
Question by:walkerdba
3 Comments
 
LVL 10

Expert Comment

by:HuaMinChen
ID: 39198414
Try
echo %ORACLE_SID%
0
 
LVL 12

Accepted Solution

by:
praveencpk earned 500 total points
ID: 39198558
if you are using unix system then try echo $ORACLE_SID or if its a windows machine the try
echo %ORACLE_SID%

>>what is the expected out put here.<<<

The expected o/p is the exported/set SID name i.e

if you have muliple instance in a server then you need to set/export the required SID name to connect to that database i.e.

[oracle@term2 newdb]$  export ORACLE_SID=ORCL
0
 

Author Closing Comment

by:walkerdba
ID: 39213550
ok
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
case statement in where clause 5 48
oracle 11g 23 82
selective queries 7 30
capture vmstat info and insert it into an oracle table 31 18
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…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

772 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