Solved

database

Posted on 2013-05-26
3
152 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
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 shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

749 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