How to see the generated sql code

Hello

With the help of obiee 10g, I would like to see the generated sql code.
I logged in as administrator
Following manage-> sessions-> view log

But when I click on connect gives this error ii do me "no logs found.

The RPD administrator is a user with the recording as a 2 level.

Thank you

BI_ORACLE_HOME/server/log/nqquery.log

to learn more:

http://gerardnico.com/wiki/dat/OBIEE/nqquery.log

Another method

http://varanasisaichand.blogspot.com/2010/04/how-to-set-logging-level-for-users-in.html

Thank you

Deva

Published by: Devarasu on December 6, 2011 17:26

Tags: Business Intelligence

Similar Questions

  • Subquery 'WITH SAWITH0 AS' OBIEE 11 g factoring clause contained in the generated sql code

    I have observed that OBIEE 11 g generates in physics request log query using the (subquery factoring) WITH clause to the generated sql code elegantly readable. It's great! Thanks for the developers. However I have a few questions about it.

    __Background__
    Oracle database ' default behavior is that if you have only a subquery in the section, it runs as a perspective in line and he not materialized before the main sql is running. If you have more than one default database engine materializes all the in the order of definition. In some cases, it can completely blow up the SGA and make a query without end. To divert this behavior, you can apply two tips that work both in inline views in subqueries as well: / * + MATERIALIZE * / and / * + INLINE * /, however Analytics 11 g does not seem to have capabilities of Board at the table level logical, only at the level of the physical table.

    If we go with the current default settings, the developers do not know this feature can fall on serious performance problems for the sake of a few sweets of syntax to the generated sql level, I'm afraid.

    __Questions__

    * It is possible to turn the Analytics Server to not use WITH but views inline instead?
    * Is it possible to sneak in a few boards that would the / * + INLINE * / allusion to the proper place in the subqueries generated if necessary
    * Is the Oracle database has any initialization parameter that can influence the behavior of this subquery factoring and divert by default?

    The WITH statement is not added to make the query more elegant, it is added for performance reasons. If your queries slow to run, then you can have a design problem. In a typical DWH DB SGA should be increased seriously given that ran queries are much larger and complex than on an OLTP DB. In all cases, you can disable the WITH statement in the administration tool by double clicking on your database on the physical layer from object in the features tab. The function is called WITH_CLAUSE_SUPPORTED.

  • output the generated SQL code

    I know that you can build the sql code generated by a query in Coldfusion 7 using the result attribute but it's nto available with Coldfusion MX and unfortunately I'm stuck with MX.

    so is it possible with MX for the SQL code generated from a CFQUERY?

    In the CF administrator, turn on debugging and enter your IP address in the appropriate box. The executed SQL appears at the bottom of the page.

    Another approach would be to do something like the following:

    SELECT a, b, c #myTable # WHERE d = "#dValue #" e = "#eValue #

    The SELECT statement in this example is identical to that of the

  • Wrap the PL/SQL code

    First of all, Hi everyone.

    I need to encrypt my PL/SQL code at run time. I thought using the wrap.exe, but it won't be a good option, once maybe I need to change something in the code and I'll not can send the code wrapped to the final customer. So, I'll use the DBMS_DDL. WRAP, but I have a doubt, I understand that my object will be encrypted in the database, but how can I prevent software this capture SQL (like SQL STATEMENTS TRACE) get the source when creating the object?


    Thank you very much.

    Agree with SomeoneElse, having a license legally correct contract protects your code.

    The package code is not a bad thing if that's what you are providing to the customer and that you have in place adequate source code controls, so you do not lose the source for yourself.  Although there are "unwrappers" out there, it may depend on the version of Oracle as to how well they work, and if they can achieve.  There are tools out there too which can obscure the PL/SQL code by doing things such as the conversion of all the variable names to things without meaning as a0001, a0002, a0003,... and deletes all comments etc before you wrap, so even if someone manages to undo what they are presented with the code that is more difficult to follow.

    Regarding the customer can see SQL running, you won't really be able to do something that, if the customer has access of type DBA to the database; the only thing you can do to avoid this is to provide a managed service where your company has total control of provides a full support for the server, database and applications and the client does not have access to all but the front end of the application.  Of course, if the customer has access to the database and can see running SQL code, then who can actually be beneficial if they have problems, because they can do their own initial analysis to determine the cause and determine if they should send the question to yourselves.

  • The call to the Workflow background process explicit in the pl/sql code

    Hi all

    We have a requirement where we need to call the "Workflow background process" explicitly in the pl/sql code.
    Our wish is that we have an application that runs via a competing program, but before the end of this application we want to put that on the wait and run the 'Workflow background process"explicitly in the code itself (user must not go and run it manually).
    Can someone please advice me how to do this in a PL/SQL code that is called via a concurrent program.

    Kind regards
    Shruti

    PL post Details of the operating system, database and versions EBS.

    One solution is to use the FND_SUBMIT API

    The most common FND API in APPS customizations [ID 221549.1]
    Code example for call Customer Interface RACUST program using the Api FND_SUBMIT 11i and R12 [429278.1 ID]

    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_SUBMIT&objid=C3&DateRange=all&userid=&NumResults=15

    HTH
    Srini

  • How to see the info of waiting events. After executing a statement select query

    Hello

    How to see the info of waiting events. After running a select query. Is there a setting to the value of this option?
    And I also want to see the following info. in the trace file. For this, what are the settings I need to adjust to the right?
    SELECT * FROM emp, dept 
    WHERE emp.deptno = dept.deptno;
    
    call   count      cpu    elapsed     disk    query current    rows
    ---- -------  -------  --------- -------- -------- -------  ------
    Parse      1     0.16      0.29         3       13       0       0
    Execute    1     0.00      0.00         0        0       0       0
    Fetch      1     0.03      0.26         2        2       4      14 
     
    Misses in library cache during parse: 1 
    Parsing user id: (8) SCOTT 
    Concerning
    Evelyne

    For

    SQL > show parameter dump;

    ORA-00942: table or view does not exist
    >
    Use

     GRANT SEECT ON v_$parameter to Your_User_Name
    

    For

    SQL > ALTER SESSION SET EVENTS = 10046 trace name forever, context level 12';

    ERROR:
    ORA-01031: insufficient privileges
    >
    Use

     GRANT ALTER SESSION to your_user
    
  • How to see the signature of a function/procedure stored?

    Someone changed the signature of a function I am trying to run. It worked before, but now one of the parameters has changed to a new type. How to see the contents of it? It is the output in Oracle sqlplus.

    SQL > exec: rc: = newcaselistforvalidation (to_date ('2010-01-01 ',' yyyy-mm-dd hh), to_date ('2011-01-01 ',' yyyy-mm-dd hh), 100);
    START: rc: = newcaselistforvalidation (to_date ('2010-01-01 ',' yyyy-mm-dd hh), to_date ('2011-01-0))

    ***
    ERROR on line 1:
    ORA-01843: not one month valid
    ORA-06512: in "AST. NEWCASELISTFORVALIDATION', line 21
    ORA-06512: at line 1

    I suspect that this is the date which has been formatted into something new.
    SQL> desc newcaselistforvalidation
    
  • How to see the fn:trace() results in the newspaper and/or console workshop?

    Hello, all.
    So, I'm a new in ODSI, in advance, my excuse to basic questions.

    I would use the fn:trace () function. However, the following code does not send information either on AdminServer.log or Wokshop console. What is the reason?

    declare the procedure tns:test() {}
    declare $timeBefore as XS: date: = fn:current-date();
    FN: trace($timeBefore, "My First test"); -> How to see the trace output?
    Returns the value $timeBefore.
    };

    Here's what I have in the console AdminServer.log and workshop:

    common/application {}
    user: weblogic
    name: testCase2
    EventKind: update
    Server: AdminServer
    }

    performance of the query / {}
    compiletime: 93
    }

    common, session, request, invocation {}
    time: Tue may 25 15:41:12 IDT 2010
    Duration: 0
    }

    Update/service {}
    procedure: test
    arity: 0
    DataService: ld:Logical/over_files/testCase_OverFiles.ds
    script: declare ns0 namespace = "" ld: logic/over_files/testCase_OverFiles ";"
    {return value ns0:test() ;}
    }

    {/ common time signature}
    timestamp: Tue may 25 15:41:12 IDT 2010
    Duration: 93
    }

    Best regards
    Yuri.

    Edited by: ygauchma may 25, 2010 05:59

    Because I'm not over your shoulder, it must be very clear on what you tried.

    Your first post show you a procedure using the trace. Well, I tried this, and instructions (ODSI set to debug and WLS logging of debug level log level) and it worked. Have you tried that? Doing a job?

    Now you're showing a function. Have you tried setting log levels?

    Where are you looking for results? The will NOT in the Console for ODSI Studio Test view (I guess that's where you're looking). They will be in the WLS log file if you have configured the log WLS-> Log level = debug file. They will be in the WLS (stdout/stderr) console if you have configured this Log level = debug.

    I believe that the trace function is implementation specific, then there is no such thing as a generic example.

    -Mike

  • How to see the content of what's currently on my iCloud of this site

    How to see the content of what's currently on my iCloud.  I would like to see these files presented in a display of file manager type in order to sort and remove if necessary.

    Go to iCloud.com, then click on your iCloud drive icon.  I hope this is what you mean or what you are looking for.

    iCloud Drive FAQ - Apple Support

  • How to see the old registered devices?

    How to see the list of disabled devices?

    If you have devices that are associated with your Apple ID, to the use of the content purchased from iTunes Store or access to subscription services, I don't think that there is a list of previously associated devices that are no longer associated.  I don't know what you mean by devices 'off '.

    If you ask about "old devices registered" on your Apple ID support profile, they must always be there.  This list is mainly for the purpose of support services.  You can check here

    https://supportprofile.Apple.com/

  • How to see the level of ink for a dell v515w printer?

    Separated from this thread.

    How to see the level of ink for a dell v515w printer?

    Hi Albert,

    I appreciate your time display. You can refer to the manual for more information. http://www.Dell.com/Ed/business/p/Dell-V515w/PD

    To better help, contact Dell technical support.

    http://en.community.Dell.com/support-forums/peripherals/

    Thank you.

  • All the fonts/writing are gibberish and I can't not as what is written, so I can't change anything on my vista, how to see the writing again if I can read? Thank you

    All the fonts/writing are gibberish and I can't not as what is written, so I can't change anything on my vista, how to see the writing again if I can read? Thank you

    Try cleartype youre settings, follow this link.

    http://www.Microsoft.com/en-us/typography/default.aspx

    Also, look for downloads 'police' as you need...

    1, select "cleartype online setting" you will probably get a download popup, install the

    Update...

  • How can see the motherboard serial number in windows 7

    Salvation;

    I need how can see the serial number of the motherboard in windows 7
    I look forward to help me
    Thank you...

    You will most likely need remove the left side panel and look at the motherboard to determine the serial number.

  • Impact of writing more comments in the pl/sql code

    What is the impact of writing more comments in the pl/sql code. If it has an impact on the compile time, it is fine but it has no effect on the runtime? even in nano seconds?

    Hello

    2981581 wrote:

    What is the impact of writing more comments in the pl/sql code. If it has an impact on the compile time, it is fine but it has no effect on the runtime? even in nano seconds?

    Outside advice, comments have no effect on the runtime.

    They can have a big impact on maintenance time.

  • How I see the preview image of my PDF documents?

    How I see the preview image of my PDF documents?

    Hi josepm26085232,

    Preview of thumbnails has been disabled in the latest Adobe Acrobat Reader DC due to security problem.

    If you want this feature, you will need to uninstall the latest version & reinstall the old version of the Adobe - Adobe Acrobat Reader DC Distributiondrive.

    Kind regards
    Nicos

Maybe you are looking for

  • evil due to the non-standard layout keyboard shortcuts.

    I use a not standard, configuration of keyboard not QWERTY, from Dvorak to the developer by Roland Kauffman (for that "ddvorak").Shortcuts keyboard seem to be messed up, and I can't understand how to make them grow.On a standard web page, hit CTRL +

  • Satellite L305-S5919 - is this compatible to run Windows 7?

    Hey M Faizan I just want to ask u that compatible is L305-S5919 to run Windows 7 RTM I tried to check my system with the Compatibility Wizard, but it shows some internet connection errors, and in time real, there is no problem with my connection, so

  • HP Pavilion dm4-2165dx WiFi driver install problems

    Product: HP Pavilion dm4-2165dx OPERATING SYSTEM: Windows 7 Professional 64 bit VL Description of the problem: Impossible to install the WiFi driver. Tried all 3 drivers provided on the support site: Ralink, Realtek & Intel WiMAX. All 3 installers in

  • pilots want to tour HP

    my hp Tower model num: 15-ac184tu need followinglowing driver for win 7 64: Ethernet, network, graphics controller,.

  • field Dynamics pos datawire

    I'm testing the differences in Dynamics POS and product POS of Quicken.  I cannot enter a Datawire identification number in the field, because the field is not enabled. Any ideas on how to enable this field?  Everything else seems to be set up correc