Representing query in obiee

Hi,
I have a query which i need to represent in obiee.
For eg:*(NOT ACTUAL QUERY)*
SELECT empid,name FROM T1 WHERE NOT EXISTS (SELECT 1 FROM T2 WHERE T1.empid=T2.empid)
I know this we can do it by SQL directly in the physical layer.But i want to know is there any other way means directly using base tables and providing mapping in PL and BMM layers.
Thanks in advance!

Hi ,
Iam getting some syntax error...
I have taken this sample query
select * from emp T1 where not exists ( select 2 from emp T2 where t2.mgr = t1.empno );
and in the content tab(where clause section) i have used as
not exists ( select 2 from empT2 where empt2.mgr = emp.empno)*
shouls i need to put any join between the two tables at physical layer or BMM layer???
Thanks

Similar Messages

  • How to use SQL Query in OBIEE Reports

    Hi all,
    I need to use direct sql query in report function column.. How can I implement that.
    For example
    Our report name is /shared/Automotive/Vehicle Services/Most Serviced Vehicle Models
    we have to eliminate /shared/Automotive/Vehicle Services/ part from above report name.. I have done this in sql using the Query SUBSTR(COL,INSTR(COL,'/',1,4)+1).
    So kindly help how to implement above sql query in Obiee.. Urgent.
    Thanx in advance

    796797 wrote:
    Hi all,
    I need to use direct sql query in report function column.. How can I implement that.
    For example
    Our report name is /shared/Automotive/Vehicle Services/Most Serviced Vehicle Models
    we have to eliminate /shared/Automotive/Vehicle Services/ part from above report name.. I have done this in sql using the Query SUBSTR(COL,INSTR(COL,'/',1,4)+1).
    So kindly help how to implement above sql query in Obiee.. Urgent.
    Thanx in advanceArrggh. I wish people wouldn't just answer a question without taking the time to actually think about what the user is asking for and if it makes sense. I like Diney's response best: Why not use the Title View? (i.e., asking questions until it is clear what is needed.) So along those lines, why are you trying to put the name of your report in a column of your report?? And why do you need to use direct sql to do this??
    Kindly or not, urgent or not, state what you are trying to achieve and why you need it (if the obvious answer like "using the Title View" doesn't work for you), instead of simply assuming your method is right and you need to know how to do what envision. Your method may not be correct or necessary.

  • CORRELATED SUB QUERY IN OBIEE

    Hi Experts,
    How to achieve correlated sub query in OBIEE
    Example for correlated sub query is here:
    SELECT
    HR_EMPLOYEE_DIM.EMPLID,
    HR_EMPLOYEE_DIM.NAME,
    HR_EMPLOYEE_DIM.JOBCODE_CD,
    HR_EMPLOYEE_DIM.JOBCODE_DESC,
    FROM
    HR_EMPLOYEE_DIM,
    EMPLOYEE_ACTION_FACT
    WHERE
    ( EMPLOYEE_ACTION_FACT.HR_EMPLOYEE_KEY=HR_EMPLOYEE_DIM.HR_EMPLOYEE_KEY )
    AND
    ( to_char(EMPLOYEE_ACTION_FACT.PS_EFF_DT,'yyyymmdd') || EMPLOYEE_ACTION_FACT.PS_EFF_SEQ=
    (SELECT MAX(TO_CHAR(PS_EFF_DT,'yyyymmdd')|| PS_EFF_SEQ)
    FROM
    EMPLOYEE_ACTION_FACT EAF1,
    HR_EMPLOYEE_DIM HED1
    WHERE EAF1.HR_EMPLOYEE_KEY = HED1.HR_EMPLOYEE_KEY
    AND HED1.PS_EMPLID = HR_EMPLOYEE_DIM.PS_EMPLID
    Thanks
    Naresh
    Edited by: Naresh Meda on Dec 2, 2008 5:52 AM

    But I want to pass presentation variable for the second query.
    Regards
    Naresh
    Edited by: Naresh Meda on Dec 2, 2008 10:27 PM

  • Manually Edit a Query in OBIEE

    Hi,
    I am the DBA. I don't actually write the reports, but I see some queries running that are taking a very long time. I would like to change some parts of the query but my developers are telling me in OBIEE you can't manually change an auto-generated query. Is this true?
    I used to write crystal reports a while back, and while you linked tables and it generated the query for you, you could go into an advanced section and manually change the query/add things.
    Is that possible in OBIEE?
    I will give an example.
    We are setting NLS_SORT and NLS_COMP to support case insensitive searches. In the Where clause, we are doing something like this.
    Where CITY like concat(concat('%',':BIND VARIABLE'),'%')
    When the bnd variable is nothing, the query sees like '%%' which is causing the QUERY to run forever. I want to do something like this.
    REPLACEconcat(concat('%',':BIND VARIABLE'),'%'), '%%','%')
    Thanks

    You can directly run a query in OBIEE Answers using direct database request. But that is not recommended. To do that first that privelege has to be enabled in the Manage priveleges for Presentation server Administrators. By default it is disabled. Next you need to login into the answers as Administrator and you can write the sql and check the results there.
    I understand that you are trying to add that concat function to the where clause column. why dont you ask your OBIEE developers to make that change in the column formula or the column mapping and execute the query.
    In that way the tool generates the desired query for you instead of writing the query in the tool.
    Hope that helps
    thanks
    Prash

  • Physical Query of OBIEE

    Hi All,
    I noticed in many queried of OBIEE to database containing the select 0 as c1. Please let me know why it is firing 0 from table if so it always return zero for particular coulmn. Can any plz let me know whats the logic behind it..
    Below is the one of the query where OBIEE uses select 0 as c1
    select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4
    from
    *(select 0 as c1,*
    D1.c2 as c2,
    D1.c1 as c3,
    D1.c3 as c4,
    ROW_NUMBER() OVER (PARTITION BY D1.c2, D1.c3 ORDER BY D1.c2 ASC, D1.c3 ASC) as c5
    from
    (select LAST_VALUE(D1.c4) OVER (PARTITION BY D1.c3 ORDER BY NVL2(D1.c4, 1, 0) , D1.c3 NULLS FIRST, D1.c5 NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    (select T156337.MCAL_PER_NAME_YEAR as c2,
    T156337.MCAL_YEAR_WID as c3,
    sum(T134466.BALANCE_GLOBAL1_AMT) as c4,
    T156337.ROW_WID as c5
    from
    W_MCAL_DAY_D T156337 /* Dim_W_MCAL_DAY_D_Fiscal_Day */ ,
    W_GL_GROUP_ACCOUNT_D T102174 /* Dim_W_GL_GROUP_ACCOUNT_D */ ,
    W_GL_BALANCE_A T134466 /* Fact_Agg_W_GL_BALANCE_A */
    where ( T102174.ROW_WID = T134466.GROUP_ACCT_WID and T102174.GROUP_ACCOUNT_NUM = 'AR' and T134466.BALANCE_DT_WID = T156337.ROW_WID )
    group by T156337.ROW_WID, T156337.MCAL_YEAR_WID, T156337.MCAL_PER_NAME_YEAR
    ) D1
    ) D1
    ) D1
    where ( D1.c5 = 1 )
    ) D1
    order by c1, c2

    I don't see it in NQQuery log:(
    Ideally, it should be because it will hit BI Server. Moreover, I can see it (report's logical SQL) in BI Server Cache.
    Any other thoughts?

  • 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

  • Column query in OBIEE report?

    Hi to All,
    I have a query regarding the columns in obiee report. Can we create a separate column like (for example: sum of the any two columns or average of two columns) in Report dynamically and add it to the existing RPD. Is it possile?
    Thanks in advance,
    Thenmozhi

    Hi,
    Yes you can. On your physical layer, you can create a logical column, in your BMM. Open your RPD, go to the logical table you want to work with. Right click --> New Object --> Logical Column. In the Column Source tab, select "Derived from existing columns using an expression" and enter your expresion there (you can also use the formula editor).
    I hope this helps.
    J.-

  • Query on OBIEE users in OBIEE?

    Hi,
    is it possible to query what users are set up in OBIEE from within OBIEE, does the security sit in any kind of SQL source that I could point the repository at??
    My wish is to enable users to be able to message each other from within OBIEE, using writeback, but I do not want freetext input of usernames or the messages will never be received in all likelihood....
    thanks for any suggestions, however leftfield...
    Robert

    hmmmmm, message each other ? yikes !
    Not a bad little project though. Have you got RPD authentication or external table or something else ?
    If you had external table it would be easy enough to expose the users, even LDAP can be exposed through a DB pl/SQL package you could call as a datasource (and report it back therefore).
    The RPD cant be queried as such, you could nqUdmlGen.exe the RPD into a file everynight and scrape the user accounts out of it (then do what you want with it, ie load into a db table etc).
    Just some thoughts.....

  • Execute query from OBIEE report

    Hi,
    Is it possible from an OBIEE report, after filtering records, to simply execute a (insert) query/function/stored procedure with this subset of filtered records (only id's are enough) as parameter ?
    Regards

    I'm first trying to count the checked boxes, to see if it is really doing the right thing.
    HTMLDB_APPLICATION.G_F01.COUNT counts the checked ones, right?
    so in my process i have:
    begin
    if HTMLDB_APPLICATION.G_F01.COUNT is not null then
    :P80_TEST := HTMLDB_APPLICATION.G_F01.COUNT;
    end if;
    end;
    but nothing is displayed in the field P80_TEST...
    what is wrong?
    Regards,
    Sofie
    PS: this seems to be a topic only for me :-)

  • Query Performance OBIEE 11.1.1.5-Essbase 9.3.1

    I have installed OBIEE 11.1.1.5 and Essbase 9.3.1 on a PC with 8GB ram and core i7, when I run a report or dashboard for the first time (*no data stored in cache*) the data display is very slow (*takes up to 15 min*), if I run a second time the same report or dashboard display and is instantaneous (as already exists in the query cache), what way I can get the cached data without having any questions?, some settings?, or there is a parameter that is not considering?, I can give some tip to improve query performance? thanks.

    One good place to start troubleshooting what took so long is - Take the logical sql and run it against the database to see how long it is taking to retrieve results back.

  • Query on OBIEE Clusters

    Hi Experts,
    I have implemented OBIEE Cluster Configuration on 2 linux Servers (serverA and ServerB). I have selected ServerA as primary CCS and ServerB as secondary CCS and presentation services running on windows Server. All the configurations has been done successfully and all users are able to loggin in.
    But when users are accessing the page, all hits are going on Server B which is Secondary CCS. And my rpd file is reading from local directory of Server B (/u04/app/product/obiee/OracleBI/server/Repository) not from shared directory.
    In NQSConfig.INI:
    REPOSITORY_PUBLISHING_DIRECTORY = "/d03/obiee/OracleBI/server/Repository";(/d03 is NFS to ServerB)
    REQUIRE_PUBLISHING_DIRECTORY = YES;
    Do I need to modify any other parameters in any configuration files, please help!!!
    Regards,
    Syed

    The RPD file is located on both ServerA and Server B.
    In Server A: /d02/app/product/obiee/OracleBI/server/Repository
    In Server B: /u04/app/product/obiee/OracleBI/server/Repository
    In Session manager Server B is serving all the requests
    In Cluster Manager, Primary Server (Server A) is "Master" Role and is in offline status where as Server B is "Clustered Server" role and its in online status.
    In Controllers - Primary Server (Server A) is having "Controlling" Role and status is online where as Server B role is "Secondary" is status is online.
    Logfile of NQServer.log (Server B)
    [58001] Query Cache Statistics -- Hits:1(100%), Qualified Misses:0(0%), Unqualified Misses:0(0%).
    2009-08-05 00:19:54
    [14058] Unloaded all subject areas.
    2009-08-05 00:22:26
    [36007] Loading repository /u04/app/product/obiee/OracleBI/server/Repository/samplesales.rpd.
    2009-08-05 00:22:27
    [14055] Loading subject area: Sample Sales ...
    2009-08-05 00:22:27
    [14056] Finished loading subject area: Sample Sales.
    2009-08-05 00:22:27
    [58002] Query Cache loaded with 3 entries from saved cache files.
    2009-08-05 00:22:27
    [43030] : Oracle BI Server started. Version: 10.1.3.4.1.090414.1900.
    2009-08-05 00:22:29
    [43071] A connection with Cluster Controller dbtier.fcs-inc.local:9706 was established. /* Server A */
    2009-08-05 00:22:31
    [43071] A connection with Cluster Controller fcslinux.fcs-inc.com:9706 was established. /* Server B */
    2009-08-05 02:05:03
    [43031] : Oracle BI Server shutdown.
    2009-08-05 02:05:03
    [58001] Query Cache Statistics -- Hits:2(40%), Qualified Misses:3(60%), Unqualified Misses:0(0%).
    2009-08-05 02:05:03
    [14058] Unloaded all subject areas.
    2009-08-05 02:14:27
    [36007] Loading repository /u04/app/product/obiee/OracleBI/server/Repository/samplesales.rpd.
    2009-08-05 02:14:27
    [14055] Loading subject area: Sample Sales ...
    2009-08-05 02:14:27
    [14056] Finished loading subject area: Sample Sales.
    2009-08-05 02:14:27
    [58002] Query Cache loaded with 6 entries from saved cache files.
    2009-08-05 02:14:27
    [43030] : Oracle BI Server started. Version: 10.1.3.4.1.090414.1900.
    2009-08-05 02:14:31
    [43071] A connection with Cluster Controller dbtier.fcs-inc.local:9706 was established.
    2009-08-05 02:14:31
    [43071] A connection with Cluster Controller fcslinux.fcs-inc.com:9706 was established.
    Logfile: nqsclustercontroller.out.log (Server B)
    nqsclustercontroller: started. Version: 10.1.3.4.1.090414.1900
    nqsclustercontroller: shutdown.
    nqsclustercontroller: started. Version: 10.1.3.4.1.090414.1900
    nqsclustercontroller: shutdown.
    nqsclustercontroller: started. Version: 10.1.3.4.1.090414.1900
    Server B: NQCluster.log
    [71008] Cluster Controller started. Version: 10.1.3.4.1.090414.1900
    2009-08-05 00:22:26
    [71021] An attempt to establish a connection with Oracle BI Server fcslinux.fcs-inc.com:9703 failed.
    2009-08-05 00:22:26
    [71020] A connection with Oracle BI Server dbtier.fcs-inc.local:9703 was established.
    2009-08-05 00:22:26
    [71010] Oracle BI Server dbtier.fcs-inc.local:9703 has transitioned to ONLINE state.
    2009-08-05 00:22:29
    [71030] A connection with Cluster Controller dbtier.fcs-inc.local:9706 was established.
    2009-08-05 00:22:31
    [71020] A connection with Oracle BI Server fcslinux.fcs-inc.com:9703 was established.
    2009-08-05 00:22:31
    [71010] Oracle BI Server fcslinux.fcs-inc.com:9703 has transitioned to ONLINE state.
    2009-08-05 02:05:03
    [71026] Cluster Controller exiting.
    2009-08-05 02:05:03
    [71026] Cluster Controller exiting.
    2009-08-05 02:14:26
    [71008] Cluster Controller started. Version: 10.1.3.4.1.090414.1900
    2009-08-05 02:14:26
    [71021] An attempt to establish a connection with Oracle BI Server fcslinux.fcs-inc.com:9703 failed.
    2009-08-05 02:14:26
    [71020] A connection with Oracle BI Server dbtier.fcs-inc.local:9703 was established.
    2009-08-05 02:14:26
    [71010] Oracle BI Server dbtier.fcs-inc.local:9703 has transitioned to ONLINE state.
    2009-08-05 02:14:31
    [71030] A connection with Cluster Controller dbtier.fcs-inc.local:9706 was established.
    2009-08-05 02:14:31
    [71020] A connection with Oracle BI Server fcslinux.fcs-inc.com:9703 was established.
    2009-08-05 02:14:31
    [71010] Oracle BI Server fcslinux.fcs-inc.com:9703 has transitioned to ONLINE state.
    Server A - NQServer.log
    [43031] : Oracle BI Server shutdown.
    2009-08-05 12:41:29
    [58001] Query Cache Statistics -- Hits:0(0%), Qualified Misses:0(0%), Unqualified Misses:0(0%).
    2009-08-05 12:41:29
    [14058] Unloaded all subject areas.
    2009-08-05 12:42:39
    [36007] Loading repository /d02/app/product/obiee/OracleBI/server/Repository/samplesales.rpd.
    2009-08-05 12:42:40
    [14055] Loading subject area: Sample Sales ...
    2009-08-05 12:42:40
    [14056] Finished loading subject area: Sample Sales.
    2009-08-05 12:42:40
    [58002] Query Cache loaded with 0 entries from saved cache files.
    2009-08-05 12:42:41
    [43030] : Oracle BI Server started. Version: 10.1.3.4.1.090414.1900.
    2009-08-05 12:42:44
    [43071] A connection with Cluster Controller fcslinux.fcs-inc.com:9706 was established.
    2009-08-05 12:45:34
    [43065] The connection with Cluster Controller fcslinux.fcs-inc.com:9706 was lost.
    2009-08-05 12:48:03
    [43071] A connection with Cluster Controller fcslinux.fcs-inc.com:9706 was established.
    2009-08-05 14:30:41
    [43065] The connection with Cluster Controller fcslinux.fcs-inc.com:9706 was lost.
    2009-08-05 14:40:04
    [43071] A connection with Cluster Controller fcslinux.fcs-inc.com:9706 was established.
    Server A- nqsclustercontroller.out.log
    nqsclustercontroller: shutdown.
    nqsclustercontroller: started. Version: 10.1.3.4.1.090414.1900
    nqsclustercontroller: shutdown.
    nqsclustercontroller: started. Version: 10.1.3.4.1.090414.1900
    nqsclustercontroller: shutdown.
    nqsclustercontroller: started. Version: 10.1.3.4.1.090414.1900
    nqsclustercontroller: shutdown.
    nqsclustercontroller: started. Version: 10.1.3.4.1.090414.1900
    Server A- NQCluster.log
    [71020] A connection with Oracle BI Server fcslinux.fcs-inc.com:9703 was established.
    2009-08-05 12:48:05
    [71030] A connection with Cluster Controller fcslinux.fcs-inc.com:9706 was established.
    2009-08-05 12:48:05
    [71010] Oracle BI Server fcslinux.fcs-inc.com:9703 has transitioned to ONLINE state.
    2009-08-05 12:48:05
    [71051] The clocks on the Primary and Secondary Cluster Controllers appear to differ by about -44736 seconds.
    2009-08-05 12:48:05
    [71027] Cluster Controller fcslinux.fcs-inc.com:9706 has transitioned to ONLINE state.
    2009-08-05 14:30:42
    [71029] The connection with Cluster Controller fcslinux.fcs-inc.com:9706 was lost.
    2009-08-05 14:30:42
    [71028] Cluster Controller fcslinux.fcs-inc.com:9706 has transitioned to OFFLINE state.
    2009-08-05 14:30:42
    [71019] The connection with Oracle BI Server fcslinux.fcs-inc.com:9703 was lost.
    2009-08-05 14:30:42
    [71011] Oracle BI Server fcslinux.fcs-inc.com:9703 has transitioned to OFFLINE state.
    2009-08-05 14:30:47
    [71031] An attempt to establish a connection with Cluster Controller fcslinux.fcs-inc.com:9706 failed.
    2009-08-05 14:30:47
    [71021] An attempt to establish a connection with Oracle BI Server fcslinux.fcs-inc.com:9703 failed.
    2009-08-05 14:40:09
    [71020] A connection with Oracle BI Server fcslinux.fcs-inc.com:9703 was established.
    2009-08-05 14:40:09
    [71030] A connection with Cluster Controller fcslinux.fcs-inc.com:9706 was established.
    2009-08-05 14:40:09
    [71010] Oracle BI Server fcslinux.fcs-inc.com:9703 has transitioned to ONLINE state.
    2009-08-05 14:40:09
    [71051] The clocks on the Primary and Secondary Cluster Controllers appear to differ by about -44738 seconds.
    2009-08-05 14:40:09
    [71027] Cluster Controller fcslinux.fcs-inc.com:9706 has transitioned to ONLINE state.
    I have copied last few lines from the log files.
    Regards,
    Syed

  • Error During executing query from OBIEE

    Hi,
    I have installed EBS and i have integrated OBIEE with EBS. (on Windows server 2003).
    Now after logging to OBIEE, I went to the subject area for creating a Query.
    After selecting the column when i press button "Display Result"
    The following message is displayed.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.ICX_SESSION_COOKIE, has no value definition. (HY000)
    SQL Issued: SELECT "- Equipment"."Organization (Department Hierarchy)" saw_0 FROM "Manufacturing Hub Catalog" ORDER BY saw_0
    I have added the entry for my DB in Data Source (ODBC).
    Please tell me the reason for this error.
    Regards,
    Niranjan.

    Hi,
    i have a problem:
    when i open a query with OBI Answers i have this error:
    Error Code:OPR4ONWY:U9IM8TAC:OI2DL65P
    Stato: HY000. Codice: 10058. NQODBC [SQL_STATE: HY000|http://forums.oracle.com/forums/] [nQSError: 10058|http://forums.oracle.com/forums/] Si è verificato un errore generico({color:#ff0000}generic error{color}). [nQSError: 16001|http://forums.oracle.com/forums/] Stato errore ODBC: 28000 codice: 18456 messaggio: Microsoft[ODBC SQL Server Driver|http://forums.oracle.com/forums/][SQL Server|http://forums.oracle.com/forums/]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.. (HY000)
    Istruzione SQL eseguita: SELECT BEN010_TIPO_BENEFIT.X_DESCRIZIONE saw_0 FROM dbo ORDER BY saw_0
    What's the problem and can i do?
    Sorry for my bad english.
    I'm waiting an answer..
    Tanks.
    Roberto Testa
    Edited by: user10366555 on 7-ott-2008 2.42

  • Query in OBIEE

    Hi All,
    I want to define a physical table with following details in RPD -
    ORDER_ID
    ITEM_ID
    SRC_ORG_ID
    DEST_ORG_ID
    SCH_SHIP_DATE
    ACTUAL_SHIP_DATE
    Now the columns are from different tables.  
    Following columns are from ORDER_DETAILS table -
    ORDER_ID
    ITEM_ID
    SRC_ORG_ID
    DEST_ORG_ID
    SCH_SHIP_DATE
    The column ACTUAL_SHIP_DATE is from SHIP_DETAILS table. The joint is by ORDER_ID. The issue is that in SHIP_DETAILS table there can be multiple ACTUAL_SHIP_DATE for the same ORDER_ID. I want to pick up max(ACTUAL_SHIP_DATE_ for the same ORDER_ID and create physical table in RPD.
    I created following query -
    WITH SD AS ( select ORDER_ID,max(ACTUAL_SHIP_DATE) from SHIP_DETAILS)
    select
    a.ORDER_ID
    a.ITEM_ID
    a.SRC_ORG_ID
    a.DEST_ORG_ID
    a.SCH_SHIP_DATE
    b.ACTUAL_SHIP_DATE
    from ORDER_DETAILS a, SD b
    where a.ORDER_ID=b.ORDER_ID
    When I click on 'View data in RPD then I get output and the output is correct. But when I am trying to create query in Answers I am getting error.
    Any pointers on this?
    Regards

    whats the error message? share that secret

  • Trigger points for 'Execute before query'  in obiee server

    Hi
    Can anybody tell me when the sql given in the 'Execute before query' ( Connection Pool and go to the Connection Scripts tab) will be executed. Is it overtimes we do a query? Can we have any control over it?
    Thanks a lot
    Regards
    Raj

    Hi,
    You might want to check the NQQuery.log to see the code that it is running before making a connection. Just to confirm that the connection pool step is working fine, could you try with a simple select statement and see that it does not error out. If it does not, you may want to revisit the procedure code again. I understand from the error that it is expecting something after the END statement (kind of weird though!!). I assume in this case, it could not parse that this is a stored procedure call itself may be. One thread I found is http://stackoverflow.com/questions/4270818/ora-06550-and-pls-00103 which you may want to look for the line break characters.
    Hope this helps.
    Thank you,
    Dhar

  • Viewing the physical query in OBIEE

    In the NQQuery.log file the physical query executed on the database is not logged. I have changed the logging level of the user to "2" in the Administration Tool. What else is needed to view the physical query?

    Hi ,
    if the caching is on your sql runs from cache and you can see 'cache hit' in your NQQuery.log file.If you turn off your caching property from nqsconfig.ini file and purge your cache files from administration tool or manually deleting from its directory then you should see the physical query.
    If your caching property is off, I dont have an idea about it.

Maybe you are looking for