[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 587
  • Last Modified:

how to verify the instance logged in sqlplus

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
samir25
Asked:
samir25
1 Solution
 
hqassapCommented:

SELECT instance_name, host_name
  FROM v$instance

0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now