Name of the query variables for any BI query

Hi Experts,
Wanted to know the query variable names for any query.
is there any table which stores the names against any query?
any help is much appriciated.
thanks in advance,
Subhasis.

Hi Rahul,
thanks for your reply.I have tried with these table but I have not got it.
my requirement is,I have one query with two variables calmonth and Employee subgroup.
Now I need the table name where I'll provide the query name and table will return the variable names.
If the tables which you provided can give the desired output,then pls tell me the input(s) that i need to give to the table.
thanks in advance,
Subhasis.

Similar Messages

  • Extract the "bind" variables for a given query running in 10g.

    how can we extract the "bind" variables for a given query running in 10g? The performance of a query may vary based on the parameters supplied to it. For example, a query like the following
    SELECT * FROM CUSTOMER_ORDERS WHERE CUSTOMER = :CUST_ID
    .might run differently when the :CUST_ID is "123" who may have very few orders versus "456" who may have tens of thousands of orders.
    So, if we see a spike in the system due to a query, we need visibility into what the exact query syntax and values are for any database session. We're aware of an Oracle view called V$SQL_BIND_CAPTURE, but what we're finding with this view is that it's only a snapshot of variables that are refreshed on an interval. That view does not give us a live view into what values are being used in the various sessions in realtime.
    If someone ould provide us with some SQL (or other means) to do get a realtime view into the SQL and variables currently running in the database, it would be greatly appreciated.

    In addition to what's been said in the other thread, you could add a layer of logging either in the database or out.
    v$sql_bind_capture and the associated ash view dba_hist_sqlbind contain sample data.
    You could up the sample rate but it's not advisable - it's still just a sample.
    If you're on 11g, this is where adaptive cursor sharing might help.
    Not help in finding the values of your binds, but help in using different plans where there is such a skew for different bind values and the plan is perhaps wrong for customer 456.
    The problem when you're got such a skew and you're using bind variables is that the two don't really go together.
    When the query is next parsed and you've got bind variable peeking enabled, you might get the 123 plan is that is the bind value at parse time and then run into problems for 456 or even vice versa.
    See http://jonathanlewis.wordpress.com/2009/05/06/philosophy-1/ for a discussion on binds and histograms which reflects the reasons for using either.

  • How to display the field name in the tabulated view for a content query web part

    I have added a content query web part changed the web part file to include custom columns imported and reffered itemstyle.xsl
    to include the tabulated view for the content query.
    However the way it is displayed is such that only the content is displayed.
    As i am using a tabular view wto display the data, i want to display their field names as well.

    Hi  ,
    According to your description, my understanding is that you need to display the field in the tabulated view for a content query web part.
    For your issue, please refer to the code as below:
    <xsl:template name="VendorCustomStyle" match="Row[@Style='VendorCustomStyle']" mode="itemstyle">
    <html>
    <table width="100%">
    <xsl:if test="count(preceding-sibling::*)=0">
    <tr>
    <td width="8%" valign="top"><div class="item"><b>Vendor ID</b></div></td>
    <td width="12%" valign="top"><div class="item"><b>Vendor Name</b></div></td>
    <td width="50%" valign="top"><div class="item"><b>Vendor Description</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Vendor Country</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Vendor Date</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Created By</b></div></td>
    </tr>
    </xsl:if>
    <tr>
    <td width="8%" valign="top"><div class="item"><xsl:value-of select="@VendorID" /></div></td>
    <td width="12%" valign="top"><div class="item"><xsl:value-of select="@Title" /></div></td>
    <td width="50%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Description" disable-output-escaping="yes" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Country" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Date" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Author" /></div></td>
    </tr>
    </table>
    </html>
    </xsl:template>
    For more information, please have a look at the blog:
    http://www.codeproject.com/Articles/756834/Customizing-the-Content-Query-Web-Part-and-Item-St
    http://msdn.microsoft.com/en-us/library/ms497457.aspx
    http://clarksteveb.hubpages.com/hub/Customized-Content-Query-Web-Part-CQWP-in-SharePoint-2007-with-results-Tabbed-Grouped-and-in-an-HTML-Table
    http://blog.sharepointexperience.com/customitemstyle/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Posiible to limit query time for any one query

    Hi,
    Using 11.2.0.3
    We have a third-party web-based reporting tool where sql queries are initiated on the database- sometimes the user kills the browser session and query still runs on the database.
    Is it possible ata dtabase level to set max time any one query can run e.g. no query over n hours. This would help kill such queries.
    Also is it possible to cap individual queries to say one query can never use more than n% of cpu, ram available?
    Thanks

    user5716448 wrote:
    Hi,
    Using 11.2.0.3
    We have a third-party web-based reporting tool where sql queries are initiated on the database- sometimes the user kills the browser session and query still runs on the database.
    Is it possible ata dtabase level to set max time any one query can run e.g. no query over n hours. This would help kill such queries.
    Also is it possible to cap individual queries to say one query can never use more than n% of cpu, ram available?
    ThanksIf you have Enterprise Edition licences, this is straightforward with the Resource Manager: set a threshold for MAX_EST_EXEC_TIME and all queries that might exceed this will be blocked. You also have CPU limits available.
    John Watson
    Oracle Certified Master DBA
    http://skillbuilders.com

  • Is there any way to remove profile names on the itunes wifisync for iphone4?

    is there any way to remove profile names on the itunes wifisync for iphone4?

    selenafrommelbourne wrote:
    a little dumb at times so please forgive me
    do u mean the better halfs phone ... restore his phone on itunes and then set up a new account for him 
    since that (plus one other minor incident) has happened he will not let me touch his phone, so if i can be detailed from experienced people, then he may feel confident and let me do this 
    sounds like a nice guy! if he won't let you touch his phone this may work out better for you...tell him to handle the problem himself.

  • What are the different methods to find the user-exit for any requirement?

    Hi Everybody,
    What are the different methods to follow to find the user-exit for any requirement?
    Thanks & Regards,
    Nagaraju Maddi

    The following program search all the user exits involved with a T-code:
    Selection Text: P_TCODE: Transaction Code to Search
    Text Symbols: 001 - Enter the Transaction Code that you want to search through for a User Exit
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP® User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP® Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP® Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    * Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    * Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
      * Find SAP® Modifications
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    * Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • How to change the text variables for a standard report-writer report ?

    I am trying to change the text variables for a report -writer report and transport the same so as to change the title page and the report output heading  .I know the Report-Group 6Z02 and the library 6O1 to which it belongs.I tried using the change transaction GR32 after going to the area menu through FGRP . I try to change the text variables through  but it throws an error "You chose a name in the reserved name range - try different name ".
    I have also tried copying this report into another report and changing the new report . I was able to change and save the text variables . Now when I try to overwrite the original report 6Z02-001 with this new report , it does not allow that.
    Let me know how I can change the text variables for the same

    Can anyone please suggest me what to do here ?

  • How to display name of the employees start with any letter?

    Hi Developer,
    Please guide me in solving the issues, that i need to display names of the employee starting with any letter.
    example:
    if i provide name of the employee starting letter 'A' it should display only those name in the database table with starting letter.
    parameters:  a*
    it should display name with starting letter a.
    example:
    abdi
    akbar
    akash
    akilesh
    thanks,
    ravi.

    Hi Ravinder,
    You can use Ranges for this purpose:
    RANGES: r_name FOR type_name.
    r_name-sign = 'I'.
    r_name-option = 'CP'.
    r_name-low = 'a*'.
    INSERT r_name.
    SELECT name FROM table_name INTO TABLE it_name WHERE name IN r_name.
    Regards.

  • We are interested to know how/where to check query runtimes for any Query in SAP BW?

    We are interested to know how/where to check query runtimes for any Query in SAP BW?
    Is there any table or program to get the query run time details per query for a particular day.

    Hello Sravan,
    Bex statics tables would be 'RSDDSTATHEADER','RSDDSTATINFO' & 'RSDDSTATEVDATA'. all these can found in one view 'RSDDSTAT_OLAP'.
    above can give historical statistic.
    For current Query statics : T-code RSRT, and select debug mode select display statistics and then execute.
    Once you get the output press F3(one step back), there you can see statics of the query for that particular execution.
    Thanks,
    Mallikarjuna

  • Change the environment variables for sid adm failed

    Hi Experts,
    I have installed ECC HA on AIX/ORACLE
    now i want to change the environment variables for the qr1adm user at the standby node
    i tried to change the /home/qr1adm/.profile with command
    vi  /home/qr1adm/.profile  it is changed  and i saved this changes.
    now I login with qr1adm user and i executed this command
    env |more
    it comes with the old values
    i don't know why?
    and if i oppened the .profile file i'm finding the new values
    So could you please tell me how can i change the environment variable for qr1adm user
    Thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 9:08 AM

    Thanks Sridhar ,
    which hostname?
    for example i have
    .dbenv_R3QASsvc.csh
    .sapenv_KFGKWERPR303.csh
    i want to tell you that R3QASsvc is the virtual hostname
    and KFGKWERPR303 is the name of the primary node A
    and the phiscal host name of node B is KFGKWERPR307
    so which one should i change it?
    thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 11:59 AM

  • SharePoint PPS 2013 Dashboard Designer error "Please check the data source for any unsaved changes and click on Test Data Source button"

    Hi,
    I am getting below error in SharePoint PPS 2013 Dashboard Designer. While create the Analysis Service by using "PROVIDER="MSOLAP";DATA SOURCE="http://testpivot2013:9090/Source%20Documents/TestSSource.xlsx"
    "An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source. "
    I have checked all the Sites and done all the steps also. But still getting the error.Its frustrating like anything. Everything is configured correctly but still getting this error.
    Thanks in advance.
    Poomani Sankaran

    Hi Poomani,
    Thanks for posting your issue,
    you must have to Install SQL Server 2012 ADOMD.Net  on your machine and find the browse the below mentioned URL to create SharePoint Dashboard with Analysis service step by step.
    http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Can I change the Caption (name) of the button Go for the dashboard prompt

    Hi,
    Can I change the Caption (name) of the button Go for the dashboard prompt
    I need to change the name of the button to Set Prompt Values.
    i did not see an option to do this
    Thanks

    Hello Yusuf,
    First follow the forum Etiquette, see this http://forums.oracle.com/forums/ann.jspa?annID=939
    You have to close the answered threads...
    And regarding your question
    Go to *{OracleBIDir}:\oraclebi\web\msgdb\l_en\messages*
    Open globalfiltermessages.xml file.
    Find this text
    <WebMessage name="kmsgGFPGo"><TEXT>Go</TEXT></WebMessage>Now edit the Go which is there between the TEXT tags..
    Ex: i am editing Go to Confirm
    <WebMessage name="kmsgGFPGo"><TEXT>Confirm</TEXT></WebMessage>Save this file and just restart your presentation service.
    Check your dashboard prompt now...
    (Editing this post from here)
    As per your requirement edit should be:
    <WebMessage name="kmsgGFPGo"><TEXT>Set Prompt Values</TEXT></WebMessage>Edited by: Kishore Guggilla on Jul 18, 2009 2:45 AM

  • Experiencing extreme slowness of the Admin console for any function in Weblogic 12.1.1.

    Experiencing extreme slowness of the Admin console for any function in Weblogic 12.1.1. 
    Configuration is Admin server plus 28 JMS servers - no nodemanager - all on the same server. 
    When I bring up Admin console alone response is quick but bringing up JMS servers one by one will slow it down. 
    I did not experience this problem when this configuration was in Weblogic 9. 
    Memory configuration is -Xms4g, -Xmx4g. 
    Any ideas what else I should check ?
    Thanks.

    Hi,
    Collect multiple thread dump at the interval of 10 sec and check what the threads are doing .
    Thread dumps will give you some information about why there is a slowness .
    Ways to collect thread dumps
    Thread dumps & Ways to take thread dumps - weblogicexpert
    Hope it helps

  • ERR: This request does not match the context path for any installed web app

    We are currently using weblogic 6.1 SP6 and facing "Error 404 Page not found" error very oftenly.
              This error is first encounter while uploading file at File folder, although does not happen at every upload, but was quite consistent always at upload file stage. At this moment, this error can occur at any stage, when ever we run any heavy process on the server (like importing large amount of data or pushing the data to different ERP - system by using custom integration. The system works fine after restarting.
              Please help me out to resolve this issue as this very critcal for our production environment.
              ERROR:
              ####<May 12, 2005 4:17:12 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              ####<May 12, 2005 4:17:15 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              ####<May 12, 2005 4:17:16 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              ####<May 12, 2005 4:17:17 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              ####<May 12, 2005 4:17:18 PM SGT> <Error> <HTTP> <MatrixTransit> <myserver> <ExecuteThread: '13' for queue: 'default'> <> <> <101147> <HttpServer(7105637,null default ctx,myserver) found no context for "/ematrix/emxLogin.jsp". This request does not match the context path for any installed web applications and there is no default web application configured.>
              THANKS
              Rohit

    Rohit
              How did you resolve the issue?
              I am facing the same.
              Thanks
              Amit

  • When I press the play button for any music it switches back to pause immediately. Jim

    When I press the play button for any music or video it switches back to pause immidiately

    Have you tried giving your iPad a reset? HOld down the sleep and home keys until you see the silver apple. Let it reboot and try again. Sometimes when there's a glitch resetting can clear that up.

Maybe you are looking for

  • UDDI Exception : publishing the service registry

    Hi, have anybody faced the error below : com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail message: com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.UDDIServerRemoteException: <Localization failed: ResourceBundle='com.sap.engine.serv

  • Audio track restarts in the middle of a clip

    Hi! I'm having an interesting issue with the audio tracks in my Timeline. When I start playing a clip the audio is in sync with the video. Then about 5 seconds into playing the clip the audio starts over. The playhead does not go back to the beginnin

  • Doubts in Organizational Plan in SUS

    Hello everyone, I need your help. I am working in a SUS implementation (for SRM 5.0). I have been checking about the definition of the organizational plan in SUS and I have doubts. I checked that is essential the vendor organization in transaction PP

  • Does any one know how i can make my iMac detect my usb Alesis mixer 2.0

    Help

  • Can't remove criteria in Find under Keywords, CS6

    I wonder if anyone else has this problem.  I just recently started using CS6.  This bug is regarding the find "Find" function in my Keywords collection, for example, find everything with Keywords "child".  Adding criteria works wonders, except that o