OBIEE generates broken SQL

Dear guru.
Let me know what's may be wrong ?
My post is closely related to bad SQL thread.
Shortly speaking, I'd like to discuss multiple star problem.
So, Oracle Business Intelligence 11.1.1.6.0
I have three fact table A,B,C joined to common link table D ( look as dimension in Administrator )
A and B have inner join with D, while C has left outer join to D ( actually outer join defined only in BMM cause don't see how set outer join on physical layer for C ).
The matter is in generated SQL query which is broken, i.e. can't be compiled in Oracle DB.
Let me give broken piece of generated SQL.
As you can see, the subquery has reference to table T69242 in WHERE, but no such table in FROM section:
SACOMMON821644 AS
(SELECT
/*+ MATERIALIZE */
DISTINCT T68993.NAME AS c1,
T69266.DISTRICT2 AS c2,
CASE
WHEN T68993.DEPARTMENTID IN
(SELECT D1.c1 AS c1 FROM SASUBWITH820608 D1
THEN 1
ELSE 0
END AS c3,
CASE
WHEN T69266.OKATO_KOD IN
(SELECT D1.c1 AS c1
FROM SASUBWITH820633 D1
THEN 1
ELSE 0
END AS c4,
T68993.DEPARTMENTID AS c5,
T69266.OKATO_KOD AS c6,
T68993.PARENT AS c7,
T69266.PARENT_OKATO_KOD AS c8
FROM BI_MSK_DISTRICTS_STAT_HIER T69233
MOS_DISTRICTS_STAT T69266
BI_DEPARTMENTS_MFC T68993
BI_MFC_HIER T69068
DEP_OPERATORS_CNT T69220
INCIDENTS T69648
MOS_DISTRICT_POPULATION T69410
WHERE ( T69233.MEMBER_KEY = T69410.OKATO_KOD
AND T68993.DEPARTMENTID = T69068.ANCESTOR_KEY
AND T69068.MEMBER_KEY = T69220.DEPARTMENTID
AND T69220.DEPARTMENTID = T69242.DEPARTMENTID*
AND T69233.ANCESTOR_KEY = T69266.OKATO_KOD
AND T69242.OKATO_KOD* = T69410.OKATO_KOD
AND T68993.DEPARTMENTID IN
(SELECT D1.c1 AS c1 FROM SASUBWITH820658 D1
AND T69266.OKATO_KOD IN
(SELECT D1.c1 AS c1 FROM SASUBWITH820683 D1
Meanwhile in aggregation subquery of that generated SQL we have requred table
SACOMMON821667 AS
(SELECT
/*+ MATERIALIZE */
TRUNC(SUM( DISTINCT T69220.OPER_TOTAL)) AS c9,
T68993.DEPARTMENTID AS c10,
T68993.PARENT AS c11,
T69266.OKATO_KOD AS c12,
T69266.PARENT_OKATO_KOD AS c13,
SUM( DISTINCT T69410.POPUL_SIZE) AS c14,
SUM(T69648.TOTAL / NULLIF( T69242.OKATO_COUNT, 0)) AS c15
FROM BI_MSK_DISTRICTS_STAT_HIER T69233
MOS_DISTRICTS_STAT T69266
BI_DEPARTMENTS_MFC T68993
BI_MFC_HIER T69068
DEP_OPERATORS_CNT T69220
MFC_ADDRESSOKATO T69242*
LEFT OUTER JOIN INCIDENTS T69648
ON T69242.DEPARTMENTID = T69648.DEPARTMENTIDFROM,
MOS_DISTRICT_POPULATION T69410
WHERE ( T69242.OKATO_KOD = T69410.OKATO_KOD
AND T69233.ANCESTOR_KEY = T69266.OKATO_KOD
AND T69233.MEMBER_KEY = T69410.OKATO_KOD
AND T69220.DEPARTMENTID = T69242.DEPARTMENTID
AND T68993.DEPARTMENTID = T69068.ANCESTOR_KEY
AND T69068.MEMBER_KEY = T69220.DEPARTMENTID
AND T68993.DEPARTMENTID IN
(SELECT D1.c1 AS c1 FROM SASUBWITH820658 D1
AND T69266.OKATO_KOD IN
(SELECT D1.c1 AS c1 FROM SASUBWITH820683 D1
GROUP BY T68993.DEPARTMENTID,
T68993.PARENT,
T69266.OKATO_KOD,
T69266.PARENT_OKATO_KOD
And it's time to show Consistency Check results in Administrator.
There is no errors, but
WARNINGS:
Business Model Сводная таблица:
[39008] Logical dimension table A_MFC_ADDRESSOKATO has a source A_MFC_ADDRESSOKATO that does not join to any fact source.
[39020] Logical table source "Сводная таблица"."FCT Incidents"."A_Incidents": No path has been found to link all tables. There is no link between the set ( 'A_DEP_OPERATORS_CNT', 'A_MFC_ADDRESSOKATO', 'A_MOS_DISTRICT_POPULATION' ) and the set ( 'A_Incidents' ).
[39020] Logical table source "Сводная таблица"."A_DEP_OPERATORS_CNT"."A_DEP_OPERATORS_CNT ": No path has been found to link all tables. There is no link between the set ( ) and the set ( ).
[39020] Logical table source "Сводная таблица"."A_MOS_DISTRICT_POPULATION"."A_MOS_DISTRICT_POPULATION": No path has been found to link all tables. There is no link between the set ( ) and the set ( ).
I wonder, how that link can be realized, when fact tables already have joins to common dim A_MFC_ADDRESSOKATO.
Should I create Logical Dimmension for A_MFC_ADDRESSOKATO while it is actually bridge table in terms of 10G ?
Besides, as we can see from query, A B and C have its own dims.
So, finally as a result in Answers we have
ORA-00904: "T69242"."OKATO_KOD": invalid identifier at OCI call OCIStmtExecute
It should be mentioned that error is appeared only when I put measure from A_Incidents (C alias) on analys in Answers, till that all worked correctly, i.e. A,B joined successfully to D
and SQL query gave desired result.
Any suggestion on issue are greately appreciated.
Sorry for unformatted SQL, still don't know how to do it.
Hope, my explanation was clear.

Seems to be bug.
OBIEE can't generate correct SQL when outer join used

Similar Messages

  • Write Back - The system was unable to generate appropriate SQL. Please cont

    Hi I am facing the below error while implementing writback feature in obiee 11g.
    The system was unable to generate appropriate SQL. Please contact your system administrator.
    Template: 'update OBI_DEV.W_PRODUCT_D_WRITE_BACK SET MON_REL_TARGET = '@{c5b2e8f4d057e4201}', MON_GROSS_TARGET= '@{ce74545331e56f0bc}' where PRODUCT_FAMILY = '@{c9a6eeb6940647d1b}' and PRODUCT_TYPE = '@{c037fcc09911be97b}' and REGION = '@{c0bc248e1e2c13fc4}''
    Record: '<record type="update"><value columnID="c0c5d0de6e8463149"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">PROD_A</sawx:expr></value><value columnID="c9a6eeb6940647d1b"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">DP_CO</sawx:expr></value><value columnID="c037fcc09911be97b"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Commerical Product</sawx:expr></value><value columnID="c3805a6285c2d923d"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">INTL</sawx:expr></value><value columnID="c0bc248e1e2c13fc4" type="update"><newValue><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:decimal">3</sawx:expr></newValue><oldValue><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:decimal">2</sawx:expr></oldValue></value><value columnID="c5b2e8f4d057e4201"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:decimal">6</sawx:expr></value></record>'
    ============================================================================================================'
    here is my XML Template.
    <WebMessage name="Writeback">
    <XML>
    <writeBack connectionPool="Oracle DataWarehouse Connection Pool Write Back">
    <insert> </insert>
    <update>update OBAW_DEV.W_PRODUCT_D_WRITE_BACK SET M MON_REL_TARGET = '@{c5b2e8f4d057e4201}', MON_GROSS_TARGET= '@{ce74545331e56f0bc}' where PROD_FAMILY = '@{c9a6eeb6940647d1b}' and PRODUCT_TYPE = '@{c037fcc09911be97b}' and REGION = '@{c0bc248e1e2c13fc4}'</update>
    </writeBack>
    </XML>
    </WebMessage>
    Thanks
    Kumar
    Edited by: 877408 on Jan 9, 2013 7:57 AM
    Edited by: 877408 on Jan 9, 2013 7:58 AM
    Edited by: 877408 on Jan 9, 2013 8:11 AM

    How about following line between the tags <WebConfig> and </WebConfig> in the instanceconfig.xml located under $INSTANCE_HOME/config/OracleBIPresentationServicesComponent/coreapplication_obips1:
    <LightWriteback>true</LightWriteback>
    Restart Presentation Services
    And check the write back permissions in Analytics->Administration> Manage Privilege as shown below:
    Just in case also check user has write access
    If helps pls mark else update
    Try with no space between tags like <insert></insert>
    Edited by: Srini VEERAVALLI on Jan 9, 2013 10:46 AM

  • WriteBack Error-The system was unable to generate appropriate SQL....

    Hi Experts,
    I am providing writeback functionality on my report. But i am getting following error...
    The system was unable to generate appropriate SQL. Please contact your system administrator.
    Following is the xml template:
    +<?xml version="1.0" encoding="utf-8"?>+
    +<WebMessageTables+
    xmlns:sawm="com.siebel.analytics.web/message/v1">
    +<WebMessageTable lang="en-us" system="WriteBack" table="Messages">+
    +<WebMessage name="SHNEW">+
    +<XML>+
    +<writeBack connectionPool="Connection Pool">+
    +<insert> </insert>+
    +<update>UPDATE CUSTOMERS SET CUST_LAST_NAME='@{C5}' WHERE+
    +CUST_ID=@{C3}</update>+
    +</writeBack>+
    +</XML>+
    +</WebMessage>+
    +</WebMessageTable>+
    +</WebMessageTables>+
    At Connection pool I am using OCI 10 g as call Interface...
    Please tell me where i am going wrong?????????????
    Thanks in Advance
    Regards,
    Avi

    Hy,
    I suppose that you have a problem in your configuration :
    * check the name of your connection pool
    * check you SQL.
    I will try to replace C5 by c5
    UPDATE CUSTOMERS SET CUST_LAST_NAME='@{C5}' WHERE CUST_ID=@{C3}by this
    UPDATE CUSTOMERS SET CUST_LAST_NAME='@{c5}' WHERE CUST_ID=@{c3}You can find the complete and detail procedure here :
    http://gerardnico.com/wiki/dat/obiee/write_back
    Success
    Nico

  • Error when generating the SQL statement while running the Query

    Hello SDN Mates,
    Am using three cubes in one infoset and build a query on that. Intially it was running fine, but now am getting error generating the SQL statement. Can you please throw some light on this. Your idea would be highly appreciated.
    Thanks and Regards
    Arun S

    Hi Arun
    is there any change in the objects (Check also the consistency of infoobject ) included in infoset, just make sure those are active, open the query in designer and check if no error/warning message are present
    Thanks
    Tripple k

  • Generating a SQL file from DB

    Hi,
    Fairly new to Oracle, after manually creating my tables in Oracle, how can i generate an SQL file that could be used in loading another DB (like MS-SQL Server does).
    Also if anyone can walk me thru geting SQL Plus 8.0 i have the username, password, but could not figure out what the Host String is.

    Folashade,
    You can use SQL*LOADER to load a delimited file into Oracle database. For more info on SQL*LOADER, please refer to SQL*LOADER manual which is posted online on this site.
    For the second question, you need to look in your tnsnames.ora file to see what the host string is. What tool did you use to create your tnsnames.ora file?
    A typical tnsnames.ora file looks as follows:
    host_string.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.x.xxx.xx)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = db_name)
    Here in this example, your host string is host_string.
    Regards,
    John

  • Performance of OBIEE report whereas SQL query behind it executed in 1-2 min

    Facing lot of performance issues in OBIEE reports, whereas SQL query behind the report fetch data in 2-3 minutes. Reprot take around 1-2 hrs. Can anyone help to resolve this please?

    (my 2c worth)... if the physical query runs for a reasonably short time but the report takes much longer to return it suggests the rendering process (ie. pivot view) is lagging.
    To test this theory, go into Answers and remove all views from the request and leave a simple table view on the compound view. Run the report and the report should return around the same time the physical request takes to run because the table view is a very raw, un aggregated rendering process. Table views are nice and fast. If that works then you can focus on tuning your other views, ie. Pivot view. I've seen a simple pivot view take minutes to render what looks like a simple report because the underlying recordset is quite large.
    I hope this helped. another quick trick you could try is applying aggregation in the formulas to aggregate things at the physical sql level so the returning result set isn't 5,000. depends what you're up to with the end report.
    Edited by: user8300108 on 25-Feb-2010 04:40

  • OBIEE generates complex queries

    Hi,
    Currently we are experiencing performance issues, i.e. some queries are running for a very long time. I examined these queries and it struck me that it could be caused by the complexity of the generated queries. For example, a query accessing only one facttable accessed that facttable 5 times (the queries are concatenated through the WITH statement) ! I wonder, why is this necessary? Business Objects XI does not generate such complex queries, BO XI would access that facttable only one time.
    Basically my question is: which settings affect the queries generated by OBIEE? Isn't it possible to generate different, simpler queries?
    TIA,
    EriK

    Thanks guys. Bad design could be a reason.. but we're using Oracle's own product called BI-APPS and I expect that to be perfect...:-)
    Here is an example of a query that is imho way too complex:
    WITH
    SAWITH0 AS (select sum(T258218.LINE_AMT * T258218.GLOBAL1_EXCHANGE_RATE) as c1,
    T551303.PROJECT_NUMBER as c2,
    T258218.PURCH_ORDER_NUM as c3
    from
    W_PROJECT_D T551303 /* Dim_W_PROJECT_D_Project */ ,
    W_PURCH_COST_F T258218 /* Fact_W_PURCH_COST_F */
    where ( T258218.DELETE_FLG = 'N' and T258218.PROJECT_WID = T551303.ROW_WID and T551303.PROJECT_NUMBER = '101491' )
    group by T258218.PURCH_ORDER_NUM, T551303.PROJECT_NUMBER),
    SAWITH1 AS (select distinct SAWITH0.c2 as c1,
    SAWITH0.c3 as c2,
    SAWITH0.c1 as c3,
    SAWITH0.c1 as c4,
    SAWITH0.c1 as c5
    from
    SAWITH0),
    SAWITH2 AS (select distinct SAWITH1.c1 as c1,
    SAWITH1.c2 as c2,
    SAWITH1.c3 as c3
    from
    SAWITH1),
    SAWITH3 AS (select sum(T258218.LINE_AMT * T258218.GLOBAL1_EXCHANGE_RATE) as c1,
    T551303.PROJECT_NUMBER as c2,
    T258218.PURCH_ORDER_NUM as c3
    from
    W_PROJECT_D T551303 /* Dim_W_PROJECT_D_Project */ ,
    W_PURCH_COST_F T258218 /* Fact_W_PURCH_COST_F */
    where ( T258218.DELETE_FLG = 'N' and T258218.PROJECT_WID = T551303.ROW_WID and T551303.PROJECT_NUMBER = '101491' )
    group by T258218.PURCH_ORDER_NUM, T551303.PROJECT_NUMBER),
    SAWITH4 AS (select distinct SAWITH3.c2 as c1,
    SAWITH3.c3 as c2,
    SAWITH3.c1 as c3,
    SAWITH3.c1 as c4,
    SAWITH3.c1 as c5
    from
    SAWITH3),
    SAWITH5 AS (select sum(SAWITH4.c4) as c4,
    SAWITH4.c1 as c5
    from
    SAWITH4
    group by SAWITH4.c1),
    SAWITH6 AS (select sum(T258218.LINE_AMT * T258218.GLOBAL1_EXCHANGE_RATE) as c1,
    T551303.PROJECT_NUMBER as c2,
    T258218.PURCH_ORDER_NUM as c3
    from
    W_PROJECT_D T551303 /* Dim_W_PROJECT_D_Project */ ,
    W_PURCH_COST_F T258218 /* Fact_W_PURCH_COST_F */
    where ( T258218.DELETE_FLG = 'N' and T258218.PROJECT_WID = T551303.ROW_WID and T551303.PROJECT_NUMBER = '101491' )
    group by T258218.PURCH_ORDER_NUM, T551303.PROJECT_NUMBER),
    SAWITH7 AS (select distinct SAWITH6.c2 as c1,
    SAWITH6.c3 as c2,
    SAWITH6.c1 as c3,
    SAWITH6.c1 as c4,
    SAWITH6.c1 as c5
    from
    SAWITH6),
    SAWITH8 AS (select sum(SAWITH7.c5) as c3
    from
    SAWITH7)
    select SAWITH2.c1 as c1,
    SAWITH2.c2 as c2,
    SAWITH2.c3 as c3,
    SAWITH5.c4 as c4,
    SAWITH8.c3 as c5
    from
    SAWITH2,
    SAWITH5,
    SAWITH8
    where ( nvl(SAWITH2.c1 , 'q') = nvl(SAWITH5.c5 , 'q') and nvl(SAWITH2.c1 , 'z') = nvl(SAWITH5.c5 , 'z') )
    Basically the query is:
    select sum(T258218.LINE_AMT * T258218.GLOBAL1_EXCHANGE_RATE) as c1,
    T551303.PROJECT_NUMBER as c2,
    T258218.PURCH_ORDER_NUM as c3
    from
    W_PROJECT_D T551303 /* Dim_W_PROJECT_D_Project */ ,
    W_PURCH_COST_F T258218 /* Fact_W_PURCH_COST_F */
    where ( T258218.DELETE_FLG = 'N' and T258218.PROJECT_WID = T551303.ROW_WID and T551303.PROJECT_NUMBER = '101491' )
    group by T258218.PURCH_ORDER_NUM, T551303.PROJECT_NUMBER
    but this query is repeated multiple times. It looks like a self join - but why is OBIEE generating such a complex query? And can it be affected?
    Edited by: user10984315 on 18-Mar-2011 08:29
    Edited by: user10984315 on 18-Mar-2011 08:30

  • Generate a SQL "IN" clause using ALDSP

    Problem Summary
    ALDSP: Generate a SQL "IN" clause
    Problem Description
    I would like to know if there is a possibility of generating an SQL "IN" clause using ALDSP.
    I would need the XQuery construct to create an SQLsomething like-
    select * from emp where dept_no in ('101', '201', '301');
    The values for dept_no would be passed at runtime.
    (Or)
    Will be I able to create a physical data service using the SQL - select * from emp where dept_no in ?
    If yes, how do I map the parameter to "?"
    Thanks.

    Mike,
    Thanks for the response. The section that you are taking about is to push joins to DB. Joining tables is not the problem that I am facing.
    I will rephrase the problem.
    I would like to know if there is a possibility of creating a ALDSP physical data service (.ds file) with the SQL as select * from employee where emp_id in ?
    and I should be able to pass multiple employee ids to the "?" parameter. select * from emp where emp_id in ('101', '201', '301');
    There is no fixed number of ids that a user can pass.
    Thanks.

  • Write Back Error: The system was unable to generate appropriate SQL

    All,
    Have looked at the previous threads on this topic and it has usually been syntax problems in the xml file. I've been over it a million times and can't see any problems.
    The error I'm getting is when I click the "update" button to initiate the write-back;
    The system was unable to generate appropriate SQL. Please contact your system administrator.
    Template: 'UPDATE WC_DEPT_GOALS_D SET Week_Beginning = @{c0}, Week_Ending = @{c1} WHERE id = @{c2} '
    Record: '<record action="update"><value columnID="c2">142</value><value columnID="c0">04/30/2012</value><value columnID="c1">05/06/2011</value></record>'
    My xml file is as follows;
    <?xml version="1.0" encoding="utf-8" ?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="GOALS">
    <XML>
    <writeBack connectionPool="GL Oracle Data Warehouse Connection Pool">
    <insert> </insert>
    <update>UPDATE WC_DEPT_GOALS_D SET Week_Beginning = @{c0}, Week_Ending = @{c1} WHERE id = @{c2} </update>
    <postUpdate>COMMIT</postUpdate>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Week Beginning and Week End are just two columns from WC_DEPT_GOALS_D - 44 columns in total which I want to write back to. These two are datetime, the others are int or float. I can't even get it to write back with these two, let a lone the other 42! :)
    Any suggestions? Thanks guys!
    Please note, I've also tried it without the "postUpdate" COMMIT line. Same error.
    Edited by: Ally on Jun 3, 2011 7:50 AM
    Edited by: Ally on Jun 3, 2011 8:00 AM

    If your column data type is varchar then you have to specify that in single quote
    COMMIT :if your DB supports automatic commit so you don't have to add it.
    check that the name in "<WebMessage name="GOALS">" is the exact same case as what you have in your report. i.e. it's Goals in the XML and then it cannot be GOALS in the Report or goals.
    And also try this..
    <update>UPDATE WC_DEPT_GOALS_D SET Week_Beginning = @{c0} WHERE id = @{c2}
    UPDATE WC_DEPT_GOALS_D SET Week_Ending = @{c1} WHERE id = @{c2}</update>
    Restart all the services and oc4j
    Cheers,
    Aravind
    Edited by: Aravind Addala on Jun 3, 2011 8:51 AM
    Edited by: Aravind Addala on Jun 3, 2011 8:57 AM

  • Problems generating PL/SQL objects Des6i !

    Hi,
    For your info
    I had problems when I try to generate PL/SQL procedures of a free format.
    The generator process hangs when reading the server model.
    I discovered that when I remove the declaration section in the PL/SQL block and put it in the private declaration block it works fine.
    The help of the PL/SQL block property doesnt mentioning any thing about not putting the declarations in the PL/SQL block.
    Is this a known problem or have I this problem only maybe caused by a different installation. (Designer 6i rel3 /Oracle 8.1.7/NT4 )
    null

    Vadim,
    In version 2.1 RC1 (2.1.0.63.41) I still have problems with the PL/SQL editor.
    Will these be solved in the final version?
    I was searching bug no. 8967961 in My Oracle Support, but was not able to find it. Where can I find this bug?
    Problems in RC1:
    *1. User defined extensions are not shown in PL/SQL editor.*
    This problem is introduced in 2.1 EA1 and still exists in RC1.
    *2. Pop-up describe for a pl/sql object shows only the user defined tab pages*
    Select the name of a PL/SQL object in the editor, right click and choose "Popup describe". The default tab pages are not shown, only the tab pages added by User Defined Extensions.
    *3. "Go to ...." option does not go to specific line number*
    Use Report Data Dictionary Reports > PLSQL > Search Source Code. In the results, right click on an object and choose the "Go to .... " option. The editor doesn't go to the correct line. The pseudo column sdev_link_line has no effect.

  • Want to know about Oracle Obiee(New to SQL and OBIEE)

    Hi
    I am currently working on software testing.And I would like to change my domain to Oracle obiee.but I have only moderate knowldge on SQL.
    Is it going to be diffcult to me to learn oracle obiee without pl/sql knowldge?
    How is the Oracle obiee tool in uk market?
    Do I can install this oracle obiee and can practice in home to get more experience?
    Please clear all these doubts
    Thank you

    Is it going to be diffcult to me to learn oracle obiee without pl/sql knowldge?
    -->You need some basic sql knowledge, I dont think its that much hard to learn
    How is the Oracle obiee tool in uk market?
    -->Its depends on your location.
    Do I can install this oracle obiee and can practice in home to get more experience?
    -->Yes you can do, check edelivery.oracle.com
    If helps pls mark
    all the best

  • Generate ANSI SQL with Oracle IKM

    Is it possible for ODI to generate ANSI SQL with the Oracle IKM?
    I have used ANSI joins in a filter in an interface, now when I run the interface I get the error: ORA-25156: old style outer join (+) cannot be used with ANSI joins.
    I would prefer to use ANSI joins in my filters instead of the old style (+) syntax. Is this possible?

    Sure,
    Go to topology, edit your Oracle technology , on SQL tab change it over to ordered joins - clause location - From , you can specify the keywords left join, right join, full outer join etc to get rid of your '(+)'

  • Howto generate correct SQL for Connector/J?

    I am trying to switch to MySQL and generated new SQL, deployed, and
    generated a new client (all using the deploytool).
    Now I am getting the exception below (SQL Syntax error) when
    running the client. How come?
    What I'm using:
    J2EE 1.4
    MySQL 4.0.12
    Connector/J 3.0.7
    The application was working with Cloudscape.
    Help is much appreciated.
    Caught an exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: createRace: nested exception is: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"RaceBeanTable" WHERE "raceId" = '1'' at line 1"
    at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:61)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at com.mnm.run.ejb.race._RaceController_Stub.createRace(Unknown Source)
    at com.mnm.run.client.RunningClient.insertRaceInfo(Unknown Source)
    at com.mnm.run.client.RunningClient.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:315)
    at com.sun.enterprise.appclient.Main.main(Main.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
    Caused by: java.rmi.RemoteException: createRace: nested exception is: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"RaceBeanTable" WHERE "raceId" = '1'' at line 1"
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:360)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:557)
    at com.mnm.run.ejb.race.RaceControllerBean_EJBObjectImpl.createRace(RaceControllerBean_EJBObjectImpl.java:181)
    at com.mnm.run.ejb.race._RaceControllerBean_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.se.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:517)
    at com.sun.corba.se.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:207)
    at com.sun.corba.se.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:109)
    at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:252)
    at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
    at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)

    Manually removing the qoutes(") from the SQL statements
    that have been generated by deploytool from the deployment
    descriptor file seems to get around the SQL syntax error,
    but now the tables are not generated as requested:
    <create-table-deploy>true</create-table-deploy>
    Any help is much appreciated.
    Andreas
    Caught an exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: createRace: nested exception is: java.sql.SQLException: General error, message from server: "Table 'tcladb.racebeantable' doesn't exist"
    ...

  • How to generate ANSI SQL syntax mapping

    I am not able to force OWB to generate ANSI SQL syntax mapping.
    In mapping configuration I have checked "ANSI SQL syntax" On, "Operating mode" is "Set based fail over to row based", "Optimize code" is On.
    "PLSQL generation mode" is set to 10gR2.
    OWB 10.2.0.4.36, OraDB 10.2.0.4.0

    Oracle SQL is based on ANSI sql 92 standards. But not possible to generate queries in ansi sql 92 format?

  • Discoverer is generating incorrect SQL.

    Hi,
    I have one Discoverer Report which was running till last week, but all of sudden it has started giving the error 'missing expression'.
    I got the query that Discoverer has generated from SQL Inspector and found that the below WHERE Conditions that discover has generated are incorrect.
    AND (NVL (o188615.period_name2, 'NULL')(+) = 'FEB-07')
    AND (NVL (o188614.period_name1, 'NULL')(+) = 'JAN-07')
    Ideally discoverer should have generated the above conditions as mentioned below. It's generated the outer joins incorrectly.
    AND (NVL (o188615.period_name2(+), 'NULL') = 'FEB-07')
    AND (NVL (o188614.period_name1(+), 'NULL') = 'JAN-07')
    Did any one faced this issue earlier. If so, please help me in fixing this.
    Advanced Thanks,
    Lokesh.

    I have one Discoverer Report which was running till
    last week, but all of sudden it has started giving
    the error 'missing expression'.This leads me to believe something changed - folders, joins, BA, tables, views, versions, and a host of other things. Has anything changed within the last week?

Maybe you are looking for

  • Apple Mail keeps crashing since Mavericks install

    Can someone please advise - ever since I upgraded to Mavericks mail crashes. I open Mail (I have 2 apple mail accounts) and it loads my messages. As soon as I click on a message the app crashes. I've sent numerous reports and have to log in through C

  • Photosmart 7350

    HP Photosmart 7350 will not print color with my new MAC OSX 10.9.4. Tried loading printer driver but get the message that Power PC applications no longer supported. Does this mean I need to get a new printer to work with my MAC. 

  • Event Listening another application.

    How can I create an action event that listens to another application? Example: A delphi application generates a messageBox and my java application must capture that and do whatever it must be done. Is this possible?

  • My iPad 1 can not load many apps, is there anyway round this

    I would like to load hangout but as I have iPad 1 it's operating system is not correct. How can I get round this?

  • Q. about recharging, travel, and necessary cables

    I'm interesting in getting an Ipod Nano (1GB black), for personal use but also for travel (vacation, ...). A couple of things aren't very clear to me though, the main reason for this being that Apple.com's store does not give a lot of information on: