Solved

how to verify the instance logged in sqlplus

Posted on 2008-10-20
1
578 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

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.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Add 0 to end of Number 21 72
UNIX SCP 5 47
export Oracle diagram from Oracle DB including VIEWS 8 64
Dataware house query tuning 9 31
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

705 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

20 Experts available now in Live!

Get 1:1 Help Now