How i see my current service using select query

Hi,
How i see my current net service name from query .
Regards
Faheem

Hi,
Do you talking about the database service configured at listener?
I'm not sure if the DBA_SERVICES or V$SERVICES can be used to get this information.
oracle@icaro:~> lsnrctl services
LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 10-MAR-2008 09:55:57
Copyright (c) 1991, 2004, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=icaro)(PORT=1521)))
Services Summary...
Service "DB01" has 2 instance(s).
  Instance "DB01", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:8 refused:0
         LOCAL SERVER
  Instance "DB01", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:2331 refused:0 state:ready
         LOCAL SERVER
The command completed successfully
oracle@icaro:~> sqlplus / as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Mon Mar 10 09:56:02 2008
Copyright (c) 1982, 2004, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select service_id,name from dba_services;
SERVICE_ID NAME
         1 SYS$BACKGROUND
         2 SYS$USERS
3 DB01Cheers
Legatti

Similar Messages

  • How do i get current active or selected page item's  reference

    Hi all,
    How do i get current active or selected page item's  reference .
    Please help me

    You can implement a selection suite for your need, this selection suite will be placed into the kLayoutSuiteBoss.
    In this selection suite place a method to give you the UIDRef of the selected pageitem, which you can get by using the method "GetUIDList" of the "ILayoutTarget" interface.
    Manan Joshi
    - Efficient InDesign Solutions -
    MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • UCCX- 7.x how many licenses are currently in use?

    Is there a way to tell how many licenses are currently in use?  Real Time Reporting shows just agents logged in and not supervisors, correct.  Is there a way to see how many users are currently logged in if supervisors do not log in as agents? Also, we need to include Historical Reports log ins as well.

    Hi, you can try using the showlicenseusage tool added in UCCX 7.0.
    The command is called showlicenseusage.exe and is found in C:\Program Files\Cisco\Desktop\Bin folder. Just open a command window, CD to this path
    and type the command "showlicenseusage.exe".
    HTH
    Pablo

  • How to see OBIEE processes status using OPMN

    Hi All,
    I installed obiee 11g on windows server 2003 64 bit, all my processes are up and running as I look into the Fusion middleware console. I was trying to see the status through OPMN. I tried access the opmn by going into the folder
    Middlewarehome\instances\instance1\bin
    I double clicked opmnctl windows batch file but nothing comes on the screen. I don't see any black window coming up and showing me the status of all the obiee processes running, I notice that clicking opmnctl launches a black window but it goes away within seconds ?
    Can anybody please tell me how to see my system components using opmnctl?
    Thanks,
    Ronny

    Hi,
    Try to run CMD prompt and change the Drive to opmn and run the command like this,
    D:\Oracle\Middleware\instances\instance1\bin>opmnctl status
    For more refer below section,
    4.5.1 Using the OPMN Command Line to Start, Stop, Restart, and View the Status of System Components
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/components.htm#BIESG486
    also u can check the status via Weblogic EM
    Thanks
    Deva

  • How to see if i'm using leopard or snowleopard?

    How to see if i'm using leopard or snowleopard?

    Highlight/click once on the Macintosh HD folder, do a Get Info (File>Get Info or CMD-I) and look at version. Anything 10.6 is Snow; anything 10.5 is Leopard.

  • How to avoid data repetation when using select statements with innerjoin

    how to avoid data repetation when using select statements with innerjoin.
    thanks in advance,
    satheesh

    you can use a query like this...
      SELECT DISTINCT
             frg~prc_group1                  "Product Group 1
             frg~prc_group2                  "Product Group 2
             frg~prc_group3                  "Product Group 3
             frg~prc_group4                  "Product Group 4
             frg~prc_group5                  "Product Group 5
             prc~product_id                  "Product ID
             txt~short_text                  "Product Description
    UP TO 10 ROWS
    INTO TABLE l_i_data
    FROM
    Joining CRMM_PR_SALESG and
    COMM_PR_FRG_ROD
    crmm_pr_salesg AS frg
    INNER JOIN comm_pr_frg_rod AS prd
    ON frgfrg_guid = prdfragment_guid
    Joining COMM_PRODUCT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_product AS prc
    ON prdproduct_guid = prcproduct_guid
    Joining COMM_PRSHTEXT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_prshtext AS txt
    ON prdproduct_guid = txtproduct_guid
    WHERE frg~prc_group1 IN r_zprc_group1
       AND frg~prc_group2 IN r_zprc_group2
       AND frg~prc_group3 IN r_zprc_group3
       AND frg~prc_group4 IN r_zprc_group4
       AND frg~prc_group5 IN r_zprc_group5.
    reward it it helps
    Edited by: Apan Kumar Motilal on Jun 24, 2008 1:57 PM

  • How to display all the surveys using content query web part

    Can you please tell me how to display all the surveys using content query web part in more details? I also created a subsite and multiple surveys in that site. Then, I inserted a Content Query Web Part and select the List Type to be "Survey",
    however, it returned nothing. Did I miss anything?

    Hi,
    OOTB Survey List does not contain any
    Content Types and it has the following structure:
    Response entry is represented by
    List Item
    Response entry consist of questions and answers, where Question correspond to
    Field and Answer to Item value respectively.
    For querying Survey List via CQWP  the following properties could be used
    BaseType 
    <Lists BaseType="4">
    ServerTemplate
    <Lists ServerTemplate="102">
    Example
    To retrieve all the responses from Survey lists, specify List Type property as shown on picture
    Reference:
    http://stackoverflow.com/questions/17280778/display-all-surveys-using-content-query-web-part
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How can replace IF condition for a Select query in my reports?

    IF s_bukrs-LOW = '4312' OR s_bukrs-LOW = '4313' OR s_bukrs-LOW = '4349'  .
    ELSEIF s_bukrs-LOW = '4310' OR s_bukrs-LOW = '4311' OR s_bukrs-LOW = '4587'.
    ENDIF.
    What if I want to use select query in place of IF condition, in my report for a Z -table in which I have made entries of ZZUSEREXIT-my progam name ,VAR1-4310,VAR2-4311,VAR3-4312,VAR4-4313,VAR5-4349,VAR6-4587?

    HI
    U can do this by two ways-
    (1) Using Two SELECT statementsie. one for IF statements and second for ELSEIF statements.
    Like--
        SELECT < field name>,
    WHERE s_bukrs-LOW = '4312' OR s_bukrs-LOW = '4313' OR s_bukrs-LOW = '4349' 
    SELECT < field name>,
    WHERE s_bukrs-LOW = '4310' OR s_bukrs-LOW = '4311' OR s_bukrs-LOW = '4587'.
    (2) U can do this in using IF with select statements.
    This will help u

  • To display 01 to 10 using select query

    Hi all,
    using select query...
    In where clause...,
    If u give 1 to 9 it should display 01 to 09 and
    If u give 10 it should display as 10.
    I want it in a single query .
    Thanks & Regards,
    Hariharan ST.

    Just need to build a where condition to the query posted by ascheffer -
    Something Like this -
      1  Select rn
      2  From   ( Select To_Char(ROWNUM, '09')  rn
      3           From   Dual
      4           Connect By rownum < 11
      5         )
      6  Where  (     (       Trim(rn) < 10
      7                 And '&Param' = '1 to 9'
      8               )
      9           Or (       Trim(rn) = LPAD('&Param', 2, 0)
    10              )
    11*        )
    SQL> /
    Enter value for param: 10
    old   7:                And '&Param' = '1 to 9'
    new   7:                And '10' = '1 to 9'
    Enter value for param: 10
    old   9:          Or (       Trim(rn) = LPAD('&Param', 2, 0)
    new   9:          Or (       Trim(rn) = LPAD('10', 2, 0)
    RN
    10
    SQL> /
    Enter value for param: 7
    old   7:                And '&Param' = '1 to 9'
    new   7:                And '7' = '1 to 9'
    Enter value for param: 7
    old   9:          Or (       Trim(rn) = LPAD('&Param', 2, 0)
    new   9:          Or (       Trim(rn) = LPAD('7', 2, 0)
    RN
    07
    SQL> /
    Enter value for param: 4
    old   7:                And '&Param' = '1 to 9'
    new   7:                And '4' = '1 to 9'
    Enter value for param: 4
    old   9:          Or (       Trim(rn) = LPAD('&Param', 2, 0)
    new   9:          Or (       Trim(rn) = LPAD('4', 2, 0)
    RN
    04
    SQL> /
    Enter value for param: 1 to 9
    old   7:                And '&Param' = '1 to 9'
    new   7:                And '1 to 9' = '1 to 9'
    Enter value for param: 1 to 9
    old   9:          Or (       Trim(rn) = LPAD('&Param', 2, 0)
    new   9:          Or (       Trim(rn) = LPAD('1 to 9', 2, 0)
    RN
    01
    02
    03
    04
    05
    06
    07
    08
    09
    9 rows selected.Shailender Mehta

  • How to see the Currently loged on user and Locks using Enterpirse manager

    Hello Everybody,
    I want to see using enterpirse manager
    *1.* the currently connected users
    *2.* The locks held by users.
    How to do this in Enterprise manager?
    Regards

    Hello Asif,
    Your and Deepak suggessions do no t show the connected users. Instead If we use the following query,it will give us the names of all users that are currently connected.
    SELECT SUBSTR(s.username,1,15) USERNAME,
    SUBSTR(s.status,1,8) STATUS,
    SUBSTR(s.server,1,10) SERVER,
    SUBSTR(s.type,1,10) TYPE,
    SUBSTR(s.event,1,20) "WAIT EVENT",
    DECODE(s.command,
    1,'Create Table',
    2,'Insert',
    3,'Select',
    6,'Update',
    7,'Delete',
    8,'Drop',
    9,'Create Index',
    10,'Drop Index',
    12,'Drop Table',
    17,'Grant',
    26,'Lock Table',
    42,'Alter Session',
    43,'Alter User',
    44,'Commit',
    45,'Rollback',
    s.command) COMMAND
    FROM v_$session s, v_$session_wait w
    WHERE (s.sid = w.sid)
    AND s.username != 'SYS'
    ORDER BY s.username;
    Best Regards

  • How to see all items in use

    This should be a pretty simple problem, but I can't seem to figure out how to solve it.
    I'm trying to empty two items out of the trash, but when I attempt to is says "the operation cannot be completed because the "each item" is in use." However, I closed both of these items quite awhile ago and they don't appear to be open anywhere.
    So my question is, how can I access something to see all the items currently in use, and I assume I'd be able to close the items in this same menu?

    First, press down the OPTION key and select Empty Trash. If that does not work then restart the computer then attempt to empty the Trash.
    You can see all active processes using Activity Monitor in the Utilities folder and selecting All Processes from the Processes drop down menu. To kill an active process select the process then click on the Quit icon in the toolbar and click on the Force Quit button. Do not try this with any system processes as this could cause the system to crash.

  • How to access .asmx Web Service using JAVA? Newbie

    Hello Experts,
    Currently, I have a project where in I have to access a ,NET web service. It is made of C#. I just want to ask how will I start the accessing process? I made this simple equation on how my project is.
    Java Project + C#.Net Web Service = Integration
    1. Do i need to create a Web Service too for the Java Project? If yes, What are the necessary tools needed for the creation of this Java Web Service?
    2. The .NET Web Service is available online. (It is made by other people).
    3. Based on the equation, what is the equivalent technology for the + sign?
    4. Can you site a concrete example for accessing a web service?
    5. I'm new here. Totally I have no idea where to start.
    6. Thank you experts.
    Edited by: Benedict.Aluan on 05 30, 08 1:38 PM
    Edited by: Benedict.Aluan on 05 30, 08 1:39 PM

    Hello
    Thanks a lot for your help ...
    I am developing simple J2EE based web service client using IBM WSAD 5.1. I have used the following code to call .asmx web service in Java
    String url = "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl";
         String namespace = "http://tempuri.org/";
         name = request.getParameter("txtName");
         try
              System.out.println("In Internet Service");
              ServiceFactory factory = ServiceFactory.newInstance();
              Service serv = factory.createService(new URL(url),new QName(namespace,"TempConvert"));
              System.out.println("Got Service......");
              Call obj = (Call)serv.createCall();
              System.out.println("Got Call......");
              obj.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY,"");
              obj.setProperty(Call.OPERATION_STYLE_PROPERTY,"wrapped");
              obj.setTargetEndpointAddress(url);
              obj.setPortTypeName(new QName(namespace,"TempConvertSoap"));
              obj.setOperationName(new QName(namespace,"FahrenheitToCelsius"));
              obj.addParameter("param1",XMLType.XSD_STRING,String.class,ParameterMode.IN);
              obj.setReturnType(XMLType.XSD_STRING);
              System.out.println("Parameters Set.....");
              Object[] params = new Object[]{name};
              k = (String)obj.invoke(params);
              System.out.println("Result: "+k);
         catch(Exception e)
            System.out.println("Exception is : "+e);
        }But this code is throwing exception that
    Invalid Address "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl"I have also tried this URL with Java Proxy. But it showing the same error.
    Plz can u tell me how to access .asmx web service ?
    Waiting 4 reply.

  • How to find Logical database name using selection view

    Hi Experts,
                      How can we find logical database name using selection view in se36.
    Regards,
    Mani

    Hi,
    If you want to see the logincal database used in the report ( tcode se38) in the intial screen select the attribute tab
    and click display you will bw able to see the logical datbase ysed for the report.
    Thanks.

  • How to invoke a web service using https

    Hi,
    I have a few security related questions surrounding BPEL process manager.
    1. Does the BPEL engine have the capability to invoke a web service using https (HTTP over SSL)? Does it automatically do that if partner link URI starts with https:// ?
    2. If not, what needs to be done to enable accessing a https based web service?
    3. I need to write a web service that accepts a message and updates certain information in the database. The web service will be deployed in an OC4J instance in Oracle App Server. We want to allow the web service to be accessed from BPEL only by users registered in the database. What is the recommended way to pass username and password to a webservice if service is invoked from BPEL process manager? Note that specifying username/password in bpel.xml is not an option.
    Thanks,
    Pranav

    1. Does the BPEL engine have the capability to invoke a web service using https (HTTP over SSL)? Does it automatically do that if partner link URI starts with https:// ?
    We currently don't have support for HTTP over SSl. We are working on it to include this functionality in near future.
    2. If not, what needs to be done to enable accessing a https based web service?
    I am not sure it is possible with current product offering. I will confirm it after discussing with our concerned development group. There is some work going to integrate with Oblix security mechanism [recently acquired by Oracle].
    3. I need to write a web service that accepts a message and updates certain information in the database. The web service will be deployed in an OC4J instance in Oracle App Server. We want to allow the web service to be accessed from BPEL only by users registered in the database. What is the recommended way to pass username and password to a webservice if service is invoked from BPEL process manager? Note that specifying username/password in bpel.xml is not an option.
    This will be easier to do if we can use Oblix along with BPEL PM. Could you please let us know more about your application so that we can provide you the customized solution till it's part of the product. You can send this query to [email protected] so that our product management team can give you more detailed roadmap regarding this.
    HTH.
    Thanks,
    Rakesh

  • How to see what processes are using my memory?

    I recently added more RAM to my system and I always keep Activity Monitor running with the memory usage icon on the Dock to see how much Lion and my programs use.
    I noticed that even several CS5 programs running at the same time won't use that much, the program I've seen uses the most is Aperture, using anywhere from 500MB on start to 2.5GB while viewing--not editing--photos.
    My questions is, when my system is running normally it uses from a quarter to half the total memory available but just now it's using more than three quarters and it's running not even half programs I use everyday. I quickly added up the memory being used and it's just missing out A LOT. I'm adding a screenshot of Activity Monitor for you to see.
    I now that restarting the system (or by using the purge command in Terminal) will free up memory but this really puzzles me and I'd really like to know what's happening--BTW, even though several GB are missing, the computer is nowhere nears slow, at least.
    Where are all the other processes using the rest of the memory?
    I'm using OS X 10.7.3 Server with 16GB of RAM on an iMac.
    Thanks for all your help,
    Gustavo.

    You will never be able to get those numbers to add up.  This topic has come up before.  Examples:
    Memory used by unknown processes
    Where is my memory?
    And others.  You cannot use the numbers in that display to add up.  Even doing top in terminal produces conflicting numbers.  Many process are dynamic and may be missed in these displays.
    FWIW, here's an apple article on the Activity Monitor memory display:
    Using Activity Monitor to read System Memory and determine how much RAM is being used
    Editorial: In my opinion I do not recommend always running Activity Monitor (or top).  The constant poling and display does have some affect on performance and cpu utilization.  That's why it always usually appears near the top of the process list when sorted by percent cpu unless really outweighed by something much bigger.

Maybe you are looking for

  • VMware SQL 2008R2 bcp error - SQLState = 08001, NativeError = 0 Error = [Microsoft][SQL Server Client 10.0] Client unable to establish connection due to prelogin failure

    Can someone help me resolve this error?   Thanks   Windows Server 2008 R2  Standard SP1 64-bit -  SQL Server 2008R2 Standard 64-bit  VMware vCenter Server Version 5.1.0 SQLState = 08001, NativeError = 0 Error = [Microsoft][SQL Server Native Client 10

  • Truncate Table

    Folks, I am creating an application for users to enter various parameters to be used in generating a mass of reports. This is replacing an existing MS Access application that has an option to truncate the entire table's contents. How do I invoke a si

  • RGB to CMYK Conversion

    Does the newer version of Photoshop Elements 13 offer the capability of converting/saving files in CMYK mode like the full commercial of Photoshop does? My older version of Photoshop Elements does not.

  • Missing user profiles in mysites

    I have a question about missing user profiles in our Mysites. We have an SP2013 environment with a number of site collections and sub-sites and occasionally, we are finding that some users are missing their profile. If we click on their user name, in

  • Command + N not working on Safari

    For some reason both of my command keys when used with the new window command (command + N) do not work on my 1.33GHZ 17 PBK. However, I tested them with other commands and they are working. Any ideas? Thanks in advance! MACPOWER