If I can revise the SQL code generated by OBIEE

Hi all

I had a problemetic SQL generated automatically by OBIEE. I have to rewrite or at least add a tip to make it complete within a fixed period.

But I'm not sure if OBIEE offers us this feature to change or customize the SQLs it generates?

Please help to give some advice.

Thank you very much.
Leon

Hi leon,.

OBIEE increases the performance of the aliases table, cz as he can't do oneself joined himself.
Please visit this link this will solve your problem to improve performance
http://www.iwarelogic.com/blog/performance-increasing-OBIEE-724
(GOLD) http://www.rittmanmead.com/2008/11/thoughts-on-OBIEE-performance-optimization-Diagnostics/

UPDATE POST
@leon, you cannot change the SQL code generated by obiee, your obligation to use EXISTS instead of IN operator, then you can do this in the physical layer of RPD by accessing the properties of the table and select SQL problem and write your query with condition EXISTS on the relevant tables. So that in turn Bi server accepts and converts according to its methodology.

UPDATE POST-2
@leon, you can use rownum in your where clause, but check the query generated by OBIEE and the results obtained by rownum satisfied your requirment.

Please follow label by awarding points to make it useful to others and even for us. Rules to be followed http://forums.oracle.com/forums/ann.jspa?annID=939

hope responds to your question.mark points.

See you soon,.
KK

Published by: Jocelyn on January 24, 2011 22:25

Published by: Jocelyne 24 January 2011 22:27

Published by: Jocelyn on January 25, 2011 02:13

Published by: Jocelyne 25 January 2011 05:26

Tags: Business Intelligence

Similar Questions

  • Is there anyway to see the sql code generated in Report Builder?

    I'm debugging a custom report complex which includes many variables bind and lexicals and uses several user_exits for flex collect field values. Is there anyway to see the SQL code that is actually generated in the report - that is, a type of log file?

    Version of the EBS is 11.5.10.2
    Report Builder 6i

    Assuming that all of the lexical settings are in your before and after triggers setting, why not add a message pop up in your setting after trigger to display what is used? Ex:

    If: P_input1 = 'A' then
    : P_where1: =' and x = 2 ";"
    on the other
    : P_where1: =' and x = 3';
    end if;

    -make the last statement in your setting after release:
    SRW.message (1, "SQL: select a, b, c from table1 where b = 5' |: P_where1");

  • view the sql code used in a cfquery that performs an update

    I want to see the sql code used in a cfquery that performs an update. I can't do it at all, advice?

    Have you looked at the docs? May I suggest the attribute of 'result '.

  • Add the new column to Admin tool, including the SQL Code

    Hi all

    I am new to OBIEE and I already searched here in the forum but have not found an exact answer which could help me.
    I have a table in the warehouse where to get information on employees. It's employe_id, manager_id and name.
    Example:
    Employe_id Manager_ID name
    1 Mueller
    2 1 Meier

    Now, I would like to create a new column in the Mapping BI Admin tool business layer and add a SQL where to select the name of the Manager.
    Is this possible? And how can we do it? It will work with a new logical column? Where we add the SQL Code?

    I hope someone can answer my question!
    Thank you very much!

    Kind regards
    David

    OK, I think I got it - the name of Manager is on a separate table (or a search to return to the current table) and your thinking that you want to label your SQL in the report to find the name of Manager based on Director ID, you have?

    If so, import the table with the names of Manager in the physical layer. If this is the same table that you already have (but want to search him in the current table) then you need to create an alias for the current table.

    For each new table in the Phy layer, or an alias - define the join (current_table.manager_id = manager_table_or_aliased_current_table.employee_id)

    Once completed, we will on the source of the logic table in the MDB for this dimension, edit, on the general tab, "Add" and select the table / alias that you created in the phy layer. Click OK - it combines now two tables attached as a source - you can then map the name of the Manager search in your column 'name '.

    Kind regards
    Alastair

  • Devices on all my iCloud preferences says "this device can be used to receive codes of audit ID Apple." How can I change this if at least one, if not several, can receive the verification code?

    Devices on all my iCloud preferences says "this device can be used to receive codes of audit ID Apple." How can I change this if at least one, if not several, can receive the verification code?

    Try to go here and see if you can add them to your Apple ID.

  • How I can add the php code in my Web site muse

    How I can add the php code in my site muse?

    Insert you user-defined html.

    Mylenium

  • Hi, I need to activate my Adobe CS3 on a new computer because my old is dead and I'm having trouble. Tried the average normal recording then connected with my Adobe ID and can see the software code and activation already registered. How to get o

    Hi, I need to activate my Adobe CS3 on a new computer because my old is dead and I'm having trouble. Tried the average normal recording then connected with my Adobe ID and can see the software code and activation already registered. How to get it on my computer saved?

    If your two activation is used, you need to call Adobe. Install CS3 point of activation and call Adobe at this time here.  They help in cases like your My drive crashed and I replaced it. Could not disable the activation of the accident.  I've done that twice in the years I use PS for about 20 years

    To see your key, you must click on the product in your products and services Adobe page.

  • I can enter the product code for PhotoShop CS5

    I can enter the product code for PhotoShop CS5.  I bought the product last year, but he could not upgrade my computer to take into account.  Now I have fixed my computer, but it does not accept code on the box.  I bought the student/teacher edition.

    Get in touch with S & T support to these questions.

    Mylenium

  • Y at - it an easy way to get the sql code that is sent in the query UPDATE

    I have a request to UPDATE abbreviated for readability. Is there an easy way to get the sql code that is sent? I use get this info for sql select in the display of debugging in cfeclipse but not for the UPDATE.

    < cfquery debug = "" name = "q" datasource = "#datasource #" > "



    UPDATE [BookingSystem]. [dbo]. [tbTrades]
    SET
    [Status] = #MATCHED_STATUS #.
    WHERE

    clientID = < cfqueryparam value = "" #arguments.clientID # "cfsqltype ="cf_sql_integer"> AND"

    < / cfquery >

    It might pay to read the docs for - http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_p-q_17.html#1102316 - focusing on the RESULT parameter.

    Read also about debugging in CF: http://livedocs.adobe.com/coldfusion/8/htmldocs/Debug_01.html

    --

    Adam

  • I need the SQL code

    I need the code for SQL.  I have Windows 7 as a guest on my computer and Fedora (Linux) as a guest.  Where can I get this code?

    I need the code for SQL.  I have Windows 7 as a guest on my computer and Fedora (Linux) as a guest.  Where can I get this code?

    Hello

    You can get help for SQL on the following forums.

    Category of the SQL Server:

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer

    Concerning

  • Named view criteria with no Assistant - I write the SQL code

    Using JDeveloper/ADF 11.1.2.3.
    Is there a way to create a view named with a SQL Select which is more complex than the wizard can write?

    I know that I can write the code to create a view of the criteria when running, but then I can't just drag and drop it as a class one.

    A use case:
    I have a table named FACILITIES, with a secondary table named FACILITY_SERVICES. I want a display criteria for FACILITIES which found all facilities with all the services required in a connection variable is a comma-delimited list.
    WHERE list.to_vc_array(:requiredServices) /* I wrote this function to translate a comma delimited list to my own vc_arraytype. */
       SUBMULTISET OF 
          CAST(MULTISET ( SELECT service
                            FROM facility_services
                           WHERE facilities.facility_id = facility_services.facility_id)
               AS vc_arraytype)
    With the wizard, I can't even write a simple IN the query (football match at least one of the required services), still less the more complex (correspond to ALL required services).

    My blog http://tompeez.wordpress.com/2011/08/21/extending-viewcriteria-to-use-sql-contains-4/ might give you a starting point. There are some hooks that you can use to implement this. Please also check Jobineshs blog (that I mention in my blog)!

    Timo

  • How to find the sql query generated by BI Publisher

    I'm looking for the physical sql query generated by BEEP when I send parameters as part of the data model.

    Of course, this can be noted in newspapers...

    Can anyone tell me the location of newspapers?

    Thanks in advance

    Have a look here http://gerardnico.com/wiki/dat/bip/log
    I explain a bit how you can get the newspaper.

    See you soon
    Nico

  • In IE10, I can see the source code - not in Firefox

    IE10, I click DISPLAY and then click the SOURCE and I see the source code.
    Firefox does not have the code source Shiwa.

    Hello

    You can use one of the following methods to view Source in Firefox:

    • Firefox > Web Developer > Page Source
    • Tools > Web Developer > Source of the Page (Ctrl + U)
    • Right-click on a web page to open the shortcut menu, and then select View Page Source
  • What can be the SQL query for this requirement?

    Hello
    I have a table with the fields like this:

    ID DESC PARENT
    01 02 ABC
    02 01 ABC1
    03 01 ABC2
    04 02 ABC4


    In the table above column PARENT refers to the column ID, but actually in the SQL query, I want to have ID DESC and PARENTDESC (i.e., desc ID value corresponding)

    Output real I need is

    SELECT ID, DESC? from table where ID = someValue. Now, if I provided ID = 01 then output should be like this:

    ID DESC PARDESC
    ABC1 ABC 01


    Can anyone help on what may be the required sql query?

    Published by: bootstrap on April 29, 2011 06:15

    SELECT T1.ID, T1. DESC, T2. / / DESC
    FROM TABLEA T1, T2 TABLEA
    WHERE T1.ID = '01'
    AND T2.ID = T1. PARENT;

  • Flash Pro CC can convert the inline code AS3 FLA HTML5?

    Flash Pro CC isn't able to convert external AS3 codebase in HTML5. It allows to convert written or referenced on timeline Flash AS3 code?

    Laughing out loud

    There are a few limited goto that can be encapsulated in a comment of js that is converted to JavaScript, but for all practical purposes, is not the answer.

Maybe you are looking for