OBIEE 11g - extra dynamic text in physical queries.

Same report reran without any changes, but it produced below two sql_ids, each sql_text contains extra text as comment at beginning. Its looks to be dynamic, always changing and getting added to ALL physical sqls of ALL analytic reports coming from OBIEE 11g Mid Tier (MT). The MT was recently upgraded from 10g to 11g and this issue seen after upgrade.
How to disable this extra text being added ?
SQL> select sql_text,sql_id from v$sql where module='Onsite Only Detail Download2 - Pref Org';
SQL_TEXT
SQL_ID
/* 65c3ae03 */ select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3, D1.c4 as c4, D1.c5 as c5, D1.c6 as c6, D1.c7 as c7, D1.c8 as c8, D1.c9 as c9, D1.c10 as c10, D1.c11 as c11, D1.c12 as c12, D1.c13 as c13, D
1.c14 as c14, D1.c15 as c15, D1.c16 as c16, D1.c17 as c17, D1.c18 as c18, D1.c19 as c19, D1.c20 as c20, D1.c21 as c21, D1.c22 as c22, D1.c23 as c23, D1.c24 as c24, D1.c25 as c25, D1.c26 as c26, D1.c27
as c27, D1.c28 as c28, D1.c29 as c29, D1.c30 as c30, D1.c31 as c31, D1.c32 as c32, D1.c33 as c33, D1.c34 as c34, D1.c35 as c35, D1.c36 as c36, D1.c37 as c37, D1.c38 as c38, D1.c39 as c39, D1.c40 as c
40, D1.c41 as c41, D1.c42 as c42, D1.c43 as c43 from ( select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3, D1.c4 as c4, D1.c5 as c5, D1.c6 as c6, D1.c7 as c7, D1.c8 as c8,
D1.c9 as c9, D1.c10 as c10, D1.c11 as c11, D1.c12 as c12, D1.c13 as c13, D1.c14 as c14, D1.c15 as c15, D1.c16 as c16, D1.c17 as c17, D1.c18 as c18,
4r7xt1tws0wpv
/* b9184c2c */ select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3, D1.c4 as c4, D1.c5 as c5, D1.c6 as c6, D1.c7 as c7, D1.c8 as c8, D1.c9 as c9, D1.c10 as c10, D1.c11 as c11, D1.c12 as c12, D1.c13 as c13, D
1.c14 as c14, D1.c15 as c15, D1.c16 as c16, D1.c17 as c17, D1.c18 as c18, D1.c19 as c19, D1.c20 as c20, D1.c21 as c21, D1.c22 as c22, D1.c23 as c23, D1.c24 as c24, D1.c25 as c25, D1.c26 as c26, D1.c27
as c27, D1.c28 as c28, D1.c29 as c29, D1.c30 as c30, D1.c31 as c31, D1.c32 as c32, D1.c33 as c33, D1.c34 as c34, D1.c35 as c35, D1.c36 as c36, D1.c37 as c37, D1.c38 as c38, D1.c39 as c39, D1.c40 as c
40, D1.c41 as c41, D1.c42 as c42, D1.c43 as c43 from ( select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3, D1.c4 as c4, D1.c5 as c5, D1.c6 as c6, D1.c7 as c7, D1.c8 as c8,
D1.c9 as c9, D1.c10 as c10, D1.c11 as c11, D1.c12 as c12, D1.c13 as c13, D1.c14 as c14, D1.c15 as c15, D1.c16 as c16, D1.c17 as c17, D1.c18 as c18,
1y73bf4x3z3n6Thanks,
Vishal

Looks like the commented text is fixed length, try to trim the specific length.

Similar Messages

  • [OBIEE 11g]Can "Static Text" use parameter like "Narrative"?

    We need to add some notes to a report and need get text from one column of result. I know we can use @1 to get the 1st column in Narrative, but in Static Text it fails. Does Static Text support that?
    We need this because in 11g, "HTML markup" broken in Narrative.

    Hi,
    No it will not support.Even in 10g we cannot show column values using @columnnumber or @{presentationvariable} in static text.
    Narrative view support sin both versions.
    Regards,
    Srikanth

  • Dynamically Aggregations Selection during runtime in OBIEE 11g

    Can anyone help me how to choose aggregations dynamically in OBIEE 11g while runtime.
    Say i have SUM and AVG as two aggregations, and depending on any one of selection my column total should vary.
    I acheived this using Variable prompt, but i want it as a drop down and just by toggling between the two my report should change with out using go / apply button.
    I tried and came to conclusion that these are static text and doesn't have any database value it can't be showed as dropdown.
    Thanks,
    Swathi

    shud be simple...Simply Create 2 Pivot Views for same Criteria in Single report and perform SUM and AVG for each. Now use View Selector to toggle between two Pivot to get SUM and AVG reports.

  • Re: View physical query issued by Obiee 11g

    Guys,
    I want to view the physical query generated by the report in OBIEE 11g, but in the logs, i can only see these queries: (Just writing the first line to illustrate)
    SELECT
    0 s_0,
    "Marketing Contact List"."- Account Address"."Billing Abode Name" s_1,
    And this query:
    RqList distinct
    0 as c1 GB,
    Account.Billing Abode Name as c2 GB,
    Both these queries are NOT the physical ones.
    I have the appropriate log level, and even set it manually from the front end, but I'm unable to view the physical query. Please help!

    A.Budd,
    After running a report in OBIEE, click the Administration Link in the top right corner. New window appears and select "Manage Sessions". Look for the latest time executed that applies to the time you executed your report and click View Logs. Scroll almost to the bottom of the log.
    What you are looking for is the generated logic that starts with "*With*"
    WITH
    SAWITH0 AS (select sum(T443244.AGING030) as c1,
    sum(T443244.AGING6190) as c2,
    sum(case when T443244.CURRENCYCODE = 'C
    Copy the whole logic from WITH to the end of the logic (typically ends with Order By) (not the log) and paste it in your query tool. This is based on the physical layer.
    Antexity

  • Text Box in Obiee 11g

    Hi All,
    How will I plot a text box in OBIEE 11g graphs.
    Please help me.
    SwathiP

    Hi SwathiP,
    I think that is not possible in obiee 11g, since obi renders graph as a flash object..
    You can't create a text box over flash object unless the text box is created in the flash.
    thanks,
    Jprakash

  • Sum Aggregation Error in Physical & BMM Layer in OBIEE 11g with Essbase 11

    Hi everyone,
    I'm using OBIEE 11g with Essbase 11 as the data source. I'm using Sample Basic database from the Essbase as my data source. If I'm using the hierarchy for the measures (so I don't flatten the measures), and when I changed the aggregation in both physical and BMM layer from Aggregate_External to Sum, I can't create a report at all from the Answers.
    Does anyone encounter the same thing? Any ideas/solution about this? Please help.
    Thanks a lot!

    Hi Deepak,
    When I picked the "Basic - measure" alone, I got this error.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96002] Essbase Error: Unknown Member Basic - measure used in query (HY000)
    SQL Issued: SELECT 0 s_0, "Sample Basic"."Basic"."Basic - measure" s_1 FROM "Sample Basic".
    When I picked the "Gen1,Measures" alone from the measure dimension, I got this error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 46008] Internal error: File server\Query\Optimizer\ServiceInterfaceMgr\SIMDB\Src\SQOIMDXGeneratorGeneric.cpp, line 2610. (HY000)
    SQL Issued: SELECT 0 s_0, "Sample Basic"."Measures"."Gen1,Measures" s_1, SORTKEY("Sample Basic"."Measures"."Gen1,Measures") s_2 FROM "Sample Basic"
    But when I queried the dimensions one by one (only single dimension each), no error was shown.
    This only happens if I use Sum in the physical and BMM layer. If I use External_Aggregation, these errors do not happen. And if I flatten the measures, these errors also do not happen.

  • Not able to update row count in Physical Layer..connection failed in OBIEE 11g

    Hi Guys,
    I am not able to do Update Row count in the Physical Layer, i am getting an error The Connection has failed. This is in OBIEE 11g Linux env.
    I have put the tnsnames.ora file in the below path:
    /*****/pkgs/linux/intel/OBIEE_DIT/MW_HOME/Oracle_BI1/network/admin/
    I do not have admin under
    /****/pkgs/linux/intel/OBIEE_DIT/MW_HOME/oracle_common/network/
    But if i put the whole TNS entry in the Data Source Name i am able to connect:
    (DESCRIPTION =(ADDRESS = (PROTOCOL= TCP) (HOST= xxx.xxx.com) (PORT= 1671))(CONNECT_DATA = (SERVICE_NAME = US1OBIEE)))
    I am not able to understand the issue..
    Thanks,
    Amit

    Looks like rpd is looking for local tns config... try to use as hostname:port/ServiceName
    This should work, just in case not working! stop doing so since it is know issue.
    If helps mark

  • How to fix the text field width wir=thout wrapping in obiee 11g

    Hi,
    In OBIEE 11g I want the text filed width should be fixed as 30 character, at the same time if the width beyond 30 characters it should not be wrapped.
    To achieve this we went to column properties and removed the wrap check box and in Additional Formatting Options section we set the width size as 30. But still if the text size is beyond 30 getting wrapped
    Please help me
    Thanks,
    Anilesh

    Hi,
    Yup..its really tricky one..u have play around changing the laft/right padding the additional format options
    Thanks
    Deva

  • Physical Query in OBIEE 10g vs OBIEE 11g

    Hi Everyone,
    We're in the middle of an OBIEE 10g to an OBIEE 11.1.1.6.4 upgrade and as part of our assembly testing we were planning on comparing the physical query generated for a report generated in obiee 10g vs the physical query for a report in obiee 11g.
    After a couple reports we noticed that the query structure in 11g is completely different than the query structure in 10g. The reports still generated the same data in 10g vs 11g. So my question is:
    1) is it worth while (or necessary) to do a physical query comparison for an obiee 10g to 11g upgrade? or is validating the front-end report data & drill down/interactions adequate?
    2) what are some general reasons why a query generates differently in obiee 10g vs 11g?

    Pl post details of OS versions, exact database versions (to 4 digits) and init.ora parameters of the 10g and 11g databases. Have statistics been gathered after the upgrade ?
    For posting tuning requests, pl see these threads
    HOW TO: Post a SQL statement tuning request - template posting
    When your query takes too long ...
    Pl see if the SQL Performance Analyzer can help - MOS Doc 562899.1 (TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER)
    HTH
    Srini

  • Selecting data source in physical view in OBIEE 11G when using sql server

    Hi,
    I doing my physical view against a 2008 R2 SQL Server. Looks like the list goes upto 2005. Should I select 2005 in that case? As per image: http://i.imgur.com/3H7MO.png
    Cheers.
    I am using OBIEE 11G 32bit Windows.

    Hi,
    Yes can. either you can select as SQL 2005 or ODBC basic also can
    I hope your version less than obiee11.1.1.5.0, version 11.1.1.1.6.0 and above has update SQL 2008 in the data source selection list.
    refer,
    http://imgur.com/JSYoL
    Thanks
    Deva

  • How to Freeze Dynamic arrangement of columns in tables a Pivot in OBIEE 11g

    HI
    I am using OBIEE 11g .
    Reports are displayed in dashboards. I want to disable dynamic arranging feature of columns in tables & Pivot table.How to do that.
    Thanks
    Abdul

    Hi,
    Kindly do the below changes in your end..please go to your obiee11g installation folder under
    BI11g\Oracle_BI1\bifoundation\web\msgdb\messages\answerstemplates.xml find it the take back up and Edit the copy of the file and
    Search with "Sortable" keyword in kuiCriteriaDefaultViewElementsMask element but I'm not sure sortable="False" then restart it
    Note: it will afftect entire answres report.
    Thanks
    Deva

  • Physical layer design in obiee 11g

    Hi,
    I need a clarification regarding physical layer degin in obiee 11g,I imported Oracle Apps reports ,but could not find any keys there at table level.So should i create keys on the imported table level or at the alias level of the imported tables.
    Thanks-Bhaskar

    If you import a transaction table you may have keys imported in physical layer but when you going with warehouse table you may not have keys at database level, you define them using join in physical layer.
    We have surrogate keys in dwh.
    Hope this clear your doubt, if helps pls mark

  • Converting MDX queries to OBIEE 11g

    How can I convert MDX queries to OBIEE queries. Im migrating Hyperion/Brio reports to OBIEE 11g reports.

    You can always plug in your cubes as datasources into OBIEE and then create the analyses using Answers.
    A direct MDX-to-"OBIEE" path only exist if you copy your MDX queries and paste them into a direct database request which uses a conncetion pool pointing towards your cube. That said...you will miss out on a lot of vanilla functionality if you do this.
    Cheers,
    C.

  • BI Publisher in OBIEE 11G

    Hi
    I have few doubts in regard to BI Publisher in OBIEE 11G. Here they goes
    1) Is it required to install BI Publisher separately or is it already provided integrated in fusion middleware in OBIEE 11G.
    2) What is the process to integrate BI Publisher with OBIEE 11G.
    Please help by providing answers to the above queries.
    Thanks.

    user8654742 wrote:
    1) Is it required to install BI Publisher separately or is it already provided integrated in fusion middleware in OBIEE 11G.BI publisher installs on your machine by default with the installation of OBIEE 11g. You will not need to install or do any extra configurations.
    2) What is the process to integrate BI Publisher with OBIEE 11G.As far as the OBIEE 11g Integration with BI Publisher 11g, it comes with basic integration like navigation to BI publisher form OBIEE analytics. Share the same security model etc. If you can elaborate your question here, it would help me answer it correctly.
    Regards,
    -Amith.

  • OBIEE 11g "WITH SAWITH0 AS" subquery factoring clause in the generated sql

    I've observed that the OBIEE 11g generates in the query log physical query using the WITH (sub-query factoring) clause to make the generated sql elegantly readable. This is great! Thanks for the developers. However I have some questions about this.
    __Background__
    Oracle Database' default behaviour is that if you have only one sub-query in the WITH section, it executes it as an in-line view and does not materialize it before the main sql is executed. If you have more than one, by default the database engine materializes all of them in the order of the definition. In some cases this can completely blow up the SGA and make the query never ending. To divert this behaviour you can apply two hints that work both in inline views and in sub-queries as well: /*+ MATERIALIZE */ and /*+ INLINE*/, however Analytics 11g does not seem to have hint capabilities at the logical table level, only at physical table level.
    If we go with the current defaults, developers not aware of this feature can bump into serious performance issues for the sake of some syntax candy at the generated sql level, I'm afraid.
    __Questions__
    * Is it possible to turn the Analytics server not to use WITH but use inline views instead?
    * Is there any way to sneak in some hints that would put the /*+ INLINE */ hint to the appropriate place in the generated sub-queries if needed
    * Does the Oracle Database have any initialization parameter that can influence this sub-query factoring behavior and divert from the default?

    The WITH statement is not added to make the query more elegant, it's added for performance reasons. If your queries take long to run then you may have a design issue. In a typical DWH DB SGA needs to be seriously increased since the queries ran are much larger and complex than on an OLTP DB. In any case you can disable the WITH statement in the Admin Tool by double clicking on your database object on the physical layer and going to the Features tab. The feature is called WITH_CLAUSE_SUPPORTED.

Maybe you are looking for