?
Solved

database

Posted on 2013-05-26
3
Medium Priority
?
168 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 11

Expert Comment

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

Accepted Solution

by:
Praveen Kumar Chandrashekatr earned 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

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…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
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 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.
Suggested Courses

840 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