Logon to oracle [message #67778] |
Sun, 10 March 2002 19:19 |
Ken
Messages: 50 Registered: April 1998
|
Member |
|
|
Hello,
Please help me. I try to logon to oracle by sql in Dos command. After logon to oracle by command "svrmgrl", I type " connect internal/oracle". It failed and error message like that "ORA-12203: TNS: Unable to connect to distincation". Do you know why?
If I got the service name "AVAP", how can I use "connect command".
Thanks!
|
|
|
|
Re: Logon to oracle [message #67788 is a reply to message #67778] |
Fri, 15 March 2002 19:32 |
arun
Messages: 67 Registered: January 2000
|
Member |
|
|
c:> set ORACLE_SID=AVAP
c:> svrmgrl
svrmgr> connect internal
and so on. Please remember to do a set ORACLE_SID=<YOUR SID>. You can check if the ORACLE_SID is set correctly or not by typing:
c:> echo %ORACLE_SID%
AVAP
c:>
Hope this helps.
|
|
|