Solved

servicename

Posted on 2011-03-23
5
339 Views
Last Modified: 2012-05-11
Is there any command to find the service name in oracle.
or else what is the best way to find service name..
0
Comment
Question by:nobleit
  • 3
5 Comments
 
LVL 51

Expert Comment

by:HainKurt
ID: 35204117
try

select name,value from v$parameter
where name='instance_name'
0
 
LVL 51

Expert Comment

by:HainKurt
ID: 35204123
or check for service_names

select name,value from v$parameter
where name='service_names'
0
 
LVL 51

Expert Comment

by:HainKurt
ID: 35204127
also this one

select name,value from v$parameter
where name='db_name'
0
 
LVL 7

Accepted Solution

by:
MrNed earned 500 total points
ID: 35204158
Some services related views:

select * from gv$services;
select * from gv$servicemetric;
select * from gv$servicemetric_history;
select * from gv$service_event;
select * from gv$service_stats;
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35206208
Instance name or database name?

In addition to the above:
select global_name from global_name;
select name from v$database;
select instance_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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Join SQL view with APEX item as the join condition 4 47
Convert Oracle data into XML document 2 59
Get the parent node - XMLTYPE 9 56
Oracle - SQL Parse String 5 19
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…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

920 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

16 Experts available now in Live!

Get 1:1 Help Now