Solved

how to verify the instance logged in sqlplus

Posted on 2008-10-20
1
579 Views
Last Modified: 2013-12-18
hi
i have 2 oracle instances with the same name(one is on the old server and the other is on new server.)
when i login for both and i run this
select instance_name from v$instance
i see both the instances with the same name...off course the tns has diff host...

i want to know how can i know what hostname i m on ...from sql plus so that i know on which instance i am working on...
0
Comment
Question by:samir25
1 Comment
 
LVL 4

Accepted Solution

by:
hqassap earned 500 total points
ID: 22766196

SELECT instance_name, host_name
  FROM v$instance

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now