Using PPR in PL/SQL generated webpages

I have a question about using PPR with web pages written in PL/SQL.
I have a dropdown menu that I want to limit by the value selected in the preceding dropdown (pick-list).
So far I have not found much information on PPR other than on OTN, and was unable to find any PL/SQL coding samples; so I guess I should ask...
    - Is it possible to use PPR in a webpage generated from a stored PL/SQL procedure/package?
    - If so, how do I make use of PPR in PL/SQL?
    - If it is NOT possible to use PPR with PL/SQL, what other methods could I make use of other than JavaScript?
Thank you in advance,
Charlie

When I run the following script, the 2nd time the test1 procedure runs, it fails with "PLS-00905: object TEST1 is invalid", whereas test2 runs fine both times.
Feel free to try it yourself!
create table boneist_test (col1 number, col2 varchar2(10));
insert into boneist_test values (1, 'a');
commit;
create procedure test1
is
  v_num number;
  v_var varchar2(10);
begin
  select *
  into v_num, v_var
  from boneist_test
  where rownum = 1;
end test1;
create procedure test2
is
  v_num number;
  v_var varchar2(10);
begin
  select col1, col2
  into v_num, v_var
  from boneist_test
  where rownum = 1;
end test2;
begin
  test1;
end;
begin
  test2;
end;
alter table boneist_test add (col3 number);
begin
  test1;
end;
begin
  test2;
end;
drop table boneist_test;
drop procedure test1;
drop procedure test2;

Similar Messages

  • View log not showing physical SQL generated in OBIEE 11.1.1.6.7

    Hi,
    I am currently using OBIEE 11.1.1.6.7 version. In this version I am unable to view the physical SQL generated by OBIEE under Administration --> Manage Marketing Jobs --> Select a Job --> Click on View SQL OR Administration --> Manage Sessions--> Select a Job --> Click on View SQL. It is not showing the physical SQL generated by OBIEE for a report or segment which I have executed.
    It was available in previous version i.e. OBIEE 10.1.3.4.2.
    I have searched in metalink and it has been suggested to use the following <Filters> section into instanceconfig.xml file. I have added the following details into existing instanceconfig.xml file and then restarted the BI services. Still the problem persist.
    <Filters>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="Console" path="saw" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="Marketing" path="saw.mktgsqlsubsystem.joblog" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw.httpserver.request" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw.httpserver.response" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    </Filters>
    Thanks,
    Prasanta

    Hi,
    Thanks for the reply.
    We used to view the log details (physical SQL) using Manage Marketing Jobs in OBIEE10g.
    In OBIEE11g we can see the job details and when selecting a job (under Action column Details link) there is an option in left pane as 'View Log'. If I click on 'View Log' it is showing as 'No Logs Found'.
    Just wanted to confirm if this is an issue in OBIEE11g.
    Also, I believe there is a limitation in 'Manage Session' to view the number of job details whereas in 'Manage Marketing Jobs' section we can increase the number of jobs to be displayed.
    Thanks,
    Prasanta

  • Error using Data Miner on SQL Developer

    Dear all.
    I'm trying to use Data Miner on SQL Developer (3.1.06) with Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 -
    64bit Production, with the Partitioning, OLAP, Data Mining and Real Application Testing options.
    I created a project, a workflow, a data source, a classification model and connected them.
    I tried to show the Decision Tree generated as described in the tutorial "Using Oracle Data Miner 11g Release 2".
    But, I receive the message "It's not possible to load the data mining model because it does not exist" in a dialog box entitled "Model not found".
    It seems that something was missing either during installation or granting my user.
    Does anybody have seen this message and know what causes it?
    Any other suggestion is welcome.
    Regards,
    Duncan
    PUCRS-Brazil

    Hi Mark.
    Thank you on replying my post.
    I'm not the DBA of Oracle repository here. So, if possible, I'd like to address my issue without having to do anything in it.
    I'll try to state better what we have here.
    When I try to use latest SQL Developer version, 11.2.1.1.7.42, it got me a message stating current repository isn't compatible with this SQLDev version
    Repository version is: 11.2.1.1.3
    I don't know what type of upgrade SQL Developer wants to do...
    About your other questions.
    "Is the model not found error occurring for all models or just the DT model?" -- The error occurs for all 4 standard models: SVM, GLM, NB and DT. But, I'm able to see all other options: "show tests results", "Compare tests results".
    You did not report that the workflow failed, so you must be seeing a successful completion status for each of the nodes. -- Yes, all steps are executed and finished OK.
    Are you using a proxy user or some other connection definition other than a standard connection. -- No.
    There is currently some problems supporting proxy based connections that will be fixed in a upcoming SQL Developer release.
    So, if you can provide me some details on how your connection is defined, that will be helpful.
    How was the product installed and the user granted rights? -- I need to ask PUCRS DBA team to answer these questions.
    Was it done through the UI or by running the scripts in the dataminer/scripts directory?
    Lastly, what is your client operating system and are you using the SQL Dev 64 bit or 32 bit release? -- I tested in 2 different computers, both with Windows 7 Professional. In my notebook, it's 64 bits OS version.
    Thank you for your attention and kind reply.
    Regards,
    Duncan

  • Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)

    I'm trying to migrate a Sql Server 2k database to an Oracle 8i schema using OMWB. After using BCP to collect metadata information on the source database, I tried to capture the source data model and got a "Capture aborted" message on the progress screen (even though then it appears a dialog window reporting "0 errors and 0 warnings", funny!). Down there is the error log OMWB generated. After reading some posts, I changed some columns of the OMWB dictionary that holds the source database name, but still got the same error. If someone can enlighten me on this toppic, I'd greatly appreciated it.
    Here's the error log of OMWB:
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: D:\Datos\Download\Oracle\Oracle Migration Workbench\omwb
    ** user language: es
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows 2000
    ** o.s. version: 5.0
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Fri Feb 23 17:18:48 GMT-03:00 2007
    ** Workbench Repository : Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    Repository Connection URL: jdbc:oracle:thin:@ServerCms:1521:sigcewbc
    ** The following plugins are installed:
    ** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 6.5 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 7.0 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : SQLServer2K
    EXCEPTION :SQLServer2KDisconnSourceModelLoad.loadSourceModel(): oracle.mtg.migration.MigrationStopException: java.lang.IndexOutOfBoundsException: Index: 15, Size: 15
    ** Shutdown : Fri Feb 23 18:00:50 GMT-03:00 2007

    Duplicate thread
    Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)

  • How to use 'IN' expression for SQL in DB adapter

    Hi,
    I am working on BPEL PM 10.1.3.3 and need to configure db adapter to get multiple values for one parameter similar to " where deptid in ('1,2,3)".
    While configuring the adapter I am not able to find any such option. Also I need to use custom SQL. I have already tried SQL given below
    select deptname from dept where dept in (#deptID)
    This type of SQL generates an error. I am sure there should be a way to achieve this but donot know how to :(
    -AAg

    This is not possible. You should program on advance the amount of IN paramaters
    IN (#p1, #p2, #p3, #p4)
    or
    IN (#p1, NVL(#p2, #p1), NVL(#p3, #p1), NVL(#p4, #p1))

  • [NQQuery log]: Physical SQL generated agaisnt 2 Database in OBIEE 11g

    Hi Experts,
    I have a problem regarding the physical SQL generated by Query log.
    So this is the setup.
    SCENARIO 1:
    Oracle Data Warehouse DB
    - col1
    - col2
    - col3
    OLAP_OBIEE
    - col4
    When I run these columns together in Analysis. It seems like the physical SQL generated in the Query log is partitioned with each other and I cant get the exact SQL so I can make comparison with the total record count in Analysis UI and the SQL developer.
    select col1, col2, col3 from Oracle Data Warehouse tables
    select col4 from OLAP_OBIEE tables
    ================================================================
    SCENARIO 2:
    Oracle Data Warehouse DB
    - col1
    - col2
    - col3
    - col4
    Running these columns together in Analysis. I am wondering why the physical SQL is somewhat also partitioned just like in SCENARIO 1.
    select col1, col2, col3 from Oracle Data Warehouse tables
    select col4 from Oracle Data Warehouse tables
    Hope that you get what am I trying to say. :(
    Thanks,
    Edited by: OBIEE/BIP Forumer on Oct 29, 2012 1:27 AM
    Edited by: OBIEE/BIP Forumer on Oct 29, 2012 1:27 AM

    Hi Maqsoon,
    Sorry for the confusion, in my Analysis report, I have a report where it generates 2 physical SQL in one Database, also I have a report where it uses 2 Database which also generates 2 physical SQL.
    Below is the SQl generated in my Analysis report using 1 Database
    select count(distinct case when T68197.OPTY_WID > 0 then concat(T67058.INTEGRATION_ID, cast(T67058.DATASOURCE_NUM_ID as CHARACTER ( 30 ) )) end ) as c1,
    T67058.OPTY_O_REVN as c2,
    T67365.CUST_VALUE_NAME as c3,
    T157680.NAME as c4,
    T157680.INTEGRATION_ID as c5
    from
    W_OPTY_D T67058 /* Dim_W_OPTY_D */ ,
    W_REVN_F T68197 /* Fact_W_REVN_F */ ,
    W_PARTY_D T157680,
    W_PARTY_ORG_D T67365
    where ( T67058.ROW_WID = T68197.OPTY_WID and T67365.ROW_WID = T157680.PARTY_ORG_WID and T68197.PR_CUSTOMER_WID = T157680.ROW_WID )
    group by T67058.OPTY_O_REVN, T67365.CUST_VALUE_NAME, T157680.NAME, T157680.INTEGRATION_ID
    order by c5, c2
    [2012-10-30T11:44:39.000+00:00] [OracleBIServerComponent] [TRACE:2] [USER-18] [] [ecid: 352c537d7893ee94:-5718ddd6:13aaccb7670:-8000-0000000000005c50] [tid: f650d700] [requestid: 45ca0005] [sessionid: 45ca0000] [username: joshua.l.manego.iii] -------------------- Sending query to database named Oracle Data Warehouse (id: <<1201371>>), connection pool named Oracle Data Warehouse Connection Pool, logical request hash edb0c7c0, physical request hash 87553d2a: [[
    select sum(D1.c1) over (partition by D1.c4, D1.c2) as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    sum(D1.c5) over (partition by D1.c6, D1.c4, D1.c2) as c5,
    D1.c6 as c6
    from
    (select count(T84444.ORDER_WID) as c1,
    T67365.CUST_VALUE_NAME as c2,
    T157680.NAME as c3,
    T157680.INTEGRATION_ID as c4,
    sum(T84444.ORDER_NRC) as c5,
    T67058.OPTY_O_REVN as c6
    from
    W_OPTY_D T67058 /* Dim_W_OPTY_D */ ,
    W_PARTY_ORG_D T67365,
    W_ORDER_F T84444 /* Fact_W_ORDER_F */ ,
    W_PARTY_D T157680
    where ( T67058.ROW_WID = T84444.OPTY_WID and T67365.ROW_WID = T157680.PARTY_ORG_WID and T84444.CUSTOMER_WID = T157680.ROW_WID )
    group by T67058.OPTY_O_REVN, T67365.CUST_VALUE_NAME, T157680.NAME, T157680.INTEGRATION_ID
    ) D1
    order by c4, c6
    Below is the physical SQL that uses 2 Database
    select T68071.QUOTE_NUM as c1,
    T116081.CURRENT_BASE_POSTN as c2,
    T66755.PER_NAME_MONTH as c3,
    T68071.STATUS_I as c4,
    T68071.QUOTE_TYPE_I as c5,
    T68071.SUB_TYPE_I as c6,
    T84523.ROW_WID as c7
    from
    W_POSITION_D T74722 /* Dim_W_POSITION_D */ ,
    W_QUOTE_D T68071 /* Dim_W_QUOTE_D */ ,
    W_QUOTE_F T84523 /* Fact_W_QUOTE_F */ ,
    W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ,
    W_POSITION_DH T116081 /* Dim_W_POSITION_DH_Position_Hierarchy */
    where ( T66755.ROW_WID = T84523.OPEN_DT_WID and T68071.ROW_WID = T84523.QUOTE_WID and T74722.ROW_WID = T84523.PR_EMP_POS_WID and T74722.ROW_WID = T116081.POSITION_WID and T84523.PR_EMP_POSTN_DH_WID = T116081.ROW_WID )
    order by c7
    [2012-10-30T11:51:42.000+00:00] [OracleBIServerComponent] [TRACE:2] [USER-18] [] [ecid: 352c537d7893ee94:-5718ddd6:13aaccb7670:-8000-0000000000005cb8] [tid: f61fc700] [requestid: 45ca0007] [sessionid: 45ca0000] [username: joshua.l.manego.iii] -------------------- Sending query to database named OLAP_OBIEE (id: <<1204144>>), connection pool named Connection Pool, logical request hash c180fd3b, physical request hash a2e8b0d6: [[
    select T315910.NIVEL_APPROVACAO as c1,
    T315910.ALCADA_DESCONTO as c2,
    T315910.ROW_WID as c3
    from
    W_QUOTEITEM_F T315910
    order by c3
    Based on what you said, so it is impossible to merge the physical SQL if we use 2 Database right?
    Your effort in answering to my question is much appreciated, Thank you.

  • HELP : customize SQL generated

    Hi,
    I've followed the Tutorial 'Generating a Struts-based JSP Application for an
    Application Module', where I'm working with only one table.
    When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
    Every time I click on 'Browse', I always have this error :
    Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
    SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
    FROM timesheet Timesheet) ESTCOUNT
    My config are :
    * Win2K
    * JAVA_HOME set to j2sdk1.4.1_01
    * mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
    * I use ultraDevHack=true as parameter within the URL
    * JDev 9.0.3 prod release
    Even with 'ultraDevHack=true' parameter, the subselect still not working.
    I've seen in the forum that JDev Team have tried with that parameter, and it worked,
    but it didn't mention with which version of mySQL and which JDBC driver.
    I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
    Anybody know how ?
    The View Object Wizard didn't help me at all for the above SQL.
    In fact I would like to fully controled, modified, or cuztomised all SQL generated.
    Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
    When I click on 'BC4J Admin', I have this :
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
    error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _wm;
    ^
    2 errors
    Why is that ?
    Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
    Any of you have the same problem ?
    Is it possible to put some criterias within the Search, i.e. Sort by Date ?
    Thanks for any help.

    CR4E and the Crystal Report Designer both has access to the SQL Command Object that you're trying to work with.
    However, CR4E uses the Eclipse functionality - the SQL Command Scratchpad - that has more limitations than the Command Object editor in Crystal Report Designer.
    Sincerely,
    Ted Ueda

  • To JDev Team : SQL generated, Struts, BC4J Admin, ...

    Hi,
    I've followed the Tutorial 'Generating a Struts-based JSP Application for an
    Application Module', where I'm working with only one table.
    When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
    Every time I click on 'Browse', I always have this error :
    Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
    SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
    FROM timesheet Timesheet) ESTCOUNT
    My config are :
    * Win2K
    * JAVA_HOME set to j2sdk1.4.1_01
    * mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
    * I use ultraDevHack=true as parameter within the URL
    Even with 'ultraDevHack=true' parameter, the subselect still not working.
    I've seen in the forum that JDev Team have tried with that parameter, and it worked,
    but it didn't mention with which version of mySQL and which JDBC driver.
    I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
    Anybody know how ?
    The View Object Wizard didn't help me at all for the above SQL.
    In fact I would like to fully controled, modified, or cuztomised all SQL generated.
    Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
    When I click on 'BC4J Admin', I have this :
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
    error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _wm;
    ^
    2 errors
    Why is that ?
    Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
    Any of you have the same problem ?
    Is it possible to put some criterias within the Search, i.e. Sort by Date ?
    Any help would be appreciated.

    Hi,
    I've followed the Tutorial 'Generating a Struts-based JSP Application for an
    Application Module', where I'm working with only one table.
    When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
    Every time I click on 'Browse', I always have this error :
    Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
    SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
    FROM timesheet Timesheet) ESTCOUNT
    My config are :
    * Win2K
    * JAVA_HOME set to j2sdk1.4.1_01
    * mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
    * I use ultraDevHack=true as parameter within the URL
    Even with 'ultraDevHack=true' parameter, the subselect still not working.
    I've seen in the forum that JDev Team have tried with that parameter, and it worked,
    but it didn't mention with which version of mySQL and which JDBC driver.
    I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
    Anybody know how ?
    The View Object Wizard didn't help me at all for the above SQL.
    In fact I would like to fully controled, modified, or cuztomised all SQL generated.
    Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
    When I click on 'BC4J Admin', I have this :
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
    error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _wm;
    ^
    2 errors
    Why is that ?
    Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
    Any of you have the same problem ?
    Is it possible to put some criterias within the Search, i.e. Sort by Date ?
    Any help would be appreciated.

  • Using PPR without knowing component id?

    Using Jdev 11.1.1.2.0
    Using an af:iterator to dynamically lay out 1 - or more af:input fields.
    Some of those fields are related. Eg. when F1 is updated F9 has to be updated as well.
    In order to use PPR I have to know the id of each component. But since I can't programmatically state this - I don't know the id of eg. F1.
    So; is there a way to Id the components, programmatically - or a way to identify (and get the id) of a specific component?
    Thanx,
    Henrik

    Once the component tree is build you can manipulate it in a bean.
    What I don't understand is where do you hold the information about which field pprs an other field.
    As far as I know you can't use EL on the id of a component, so you can't set it to something you'll remember later while iterating through your list.
    You may be able to implement some logic if you know how the ids of the components are build while iterating. Use firebug and check the ids of the final page. You may get the info on how the ids are generated.
    Timo

  • SQL generated by EIS for Drill Through

    Hello,<BR>We are currently using EIS 7.1 on AIX. When we run a drill through report on a large flat dimensional member there are two separate SQLs generated. The first SQL has a where condition with appx. half of the child members and the second one with second half. Is this due to any kind of limitation on he length of the SQL generated?<BR>If so is there any way to work around with this?<BR>THanks a lot in advance<BR>Kris

    Hi Michael,
    I have got the following inputs from the OLAP forum on this query:
    P_S
    Posts: 40
    Registered: 5/29/07
    How to see the SQL (OLAP DML) generated by Discoverer for OLAP
    Posted: Aug 30, 2007 9:30 AM Reply
    Hi,
    I originally posted this query on the Discoverer forum, but it was then suggested to post it here in the OLAP forum. Please help.........
    Is there a way to see the SQL (OLAP DML) generated by Discoverer for OLAP (the way we have "View SQL" in Discoverer Relational). The version in use is 10.1.2.48.18.
    Thanks,
    Piyush
    KLaker
    Posts: 1,341
    From: Manchester, UK
    Registered: 1/10/01
    Re: How to see the SQL (OLAP DML) generated by Discoverer for OLAP
    Posted: Sep 5, 2007 7:34 AM in response to: P_S Reply
    Directly within Discoverer for OLAP (or Viewer)? No - because there is no way to change the behaviour of the generated SQL, you cannot add hints or create any MVs to change the SQL generated. You can trace the SQL generated during a Disco for OLAP query though by switching on some of the OLAP tuning and diagnostic features. There is more information contained in the Discoverer for OLAP Best Practices Guide:
    http://www.oracle.com/technology/products/discoverer/pdf/discoverer_plus_olap_best_practices.pdf
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Regards,
    Piyush

  • How can I extract the native SQL generated by TopLink?

    How can I extract the native SQL generated by TopLink?
    This is useful for example to use pagination, or pass the SQL to a stored procedure that may do many things, like using a cursor, or apply security.
    Pagination example where the SQL inside the inner parentheses are generated from Toplink, and the outer SQL is generic:
    select *
    from
    (select xx.*, rownum as rn
    from
    (select o.order_id, r.name, ...
    from placed_order o, restaurant r
    where o.restaurant_id = r.restaurant_id
    order by o.order_ext_id
    ) xx
    where rownum < 21)
    where rn > 10

    Alternatively, you can open your sessions.xml in the Mapping Workbench and for a specific session, you can Click the Login Tab and then the Options tab. Then select "Native SQL" and it will be outputted to the console (assuming that is where you outputing it).
    zb

  • Use of PVKConverter with SQL Server 2012 SP2

    I am trying to convert a certificate that was exported from our database server to be used by SQL Server for database encryption.  When I run the PVKConverter, not Private Key File (PVK) is generated.
    The certificate has Server and Client Authentication as the purposes of the certificate. 
    What purpose or purposes does the certificate need in order to be able to be used by SQL Server 2012 SP2?
    Why doesn't the PVKConverter generate a private key file?
    I can use the command makecerts to generate a self signed certificate and have it work with SQL Server database encryption.
    Thanks.
    DJ

    Hi DJ,
    Based on my research, SQL Server supports the importing of existing security certificates, specified as a pair of files that are encoded in PVK/DER format. Below Transact-SQL script displays the basic key file format for SQL Server database encryption.
    CREATE CERTIFICATE <Certificate name>
    FROM FILE = '<PVK/DER format file>.cer'
    WITH PRIVATE KEY (FILE = '<PVK/DER format file>.pvk',
    DECRYPTION BY PASSWORD = '<Encryption password>');
    According to your description, PVKConverter doesn’t generate a private key file. PVKConverter is used to generate PVK/DER encoded security certificates from existing PFX encoded security certificates. Thus, please ensure that your certificate is encoded in
    PFX format and make sure you perform all the steps properly as described in the
    KB article.
    There is also a related blog for your reference.
    http://blogs.msdn.com/b/sql_pfe_blog/archive/2014/02/04/generating-a-trusted-tde-certificate-in-the-proper-format-from-a-certificate-authority.aspx
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Portal SearchOps: Can I see the SQL generated?

    Is there a way to see the SQL generated by a content search?
    We have started to move a project into production which is querying against a DB2 database, and I fear that a date range constraint in our query is failing to be exercised.
    Thanks,
    -mike

    If you're familiar with using debug.properties, add this to your debug.properties file:
    usePackageNames: on
    com.bea.content: on
    When you start the server, pass this option in:
    -Ddebug.properties=[your debug.properties file, including path]
    The output will be rather verbose, and you might be able to narrow it down by replacing
    com.bea.content: on
    with
    com.bea.content.repo.internal.server.logic.SearchOpsLogic: on
    com.bea.content.repo.internal.server.common: on

  • Different sql generated in CR4E compared to standalone CR?

    <p>Hi,</p><p>We are currently working with CR4E and have found that a report generates different results in CR4E previewer than the standalone Crystal reports previewer - and upon closer inspection the sql statements are different.</p><p>We are running oracle (with thin client driver) and the problem seems to stem from join types - we cannot specify a join type in CR4E, but this can be specified in standalone CR - resulting in incorrect results in CR4E (we frquently need to use left outer joins). I am guessing that the sql generation code in CR4E does not understand the join types specified in the report file generated in standalone CR - is this a known problem? Is there a standard migration procedure - we really need to be able to preview reports correctly in both apps.</p><p>We already have a workaround of copying the sql generated by the standalone report and using this as a complete sql command within the report - but this is obviously far from ideal for our needs.<br /></p><p>Also, when is CR4E likely to support join types - this is a key requirement for us.   </p><p>Many Thanks,</p><p>Peter</p>

    <p> Hi Peter,</p><p>   If you believe the root of your issue is linked to the Join type then you can modify this today in Crystal Reports for Eclipse. Below is a screenshot that demonstrates where this option is exposed. Essentially, if you change to the Outline View while on the data pane, when you select the Link in the Outline view you will see the Join type exposed in the Properties View </p><p><img src="http://farm1.static.flickr.com/151/396642555_e96c727e2f_o.jpg" alt="Demonstrating Joins in CR4E" title="Joins in CR4E" width="1280" height="1024" /></p><p>Give this a try and let me know if it resolves your issue. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <strong><a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a></strong>          </p>

  • Need information in SQL generated after

    Hi Experts,
       SQL generated after executing the query always includes Data Package Dimension table & Unit Dimensional table .Can any help me in knowing why it is like that Or what is the concept behind.
    Thanks & Regards
    Sameer Khan

    Hi Sameer,
    Whenever a query is run, a SQL statement is triggered to fetch data from the BW server. In this process, the selections are passed to BW for fetching data for the Characetristics and keyfigures present in Initial query view. The DataPackage, Time and Units are the once to be filled first as these are the characteristics in default dimensions.
    For free characetristics, as and when they are drilled again a Sub-SQL query is generated to fetch data corresponding to the free characteristic in the query. In case of attributes, SID's are used to fetch the attribute values from master data tables.
    Also note the places where the SQL query looks for data in order:
    BI Accelerator (If Implemented) -> Query Cache -> Aggregates (If any) -> DataTargets -> Master data tables.
    Please let me know if you need any more information.
    Regards,
    Pankaj

Maybe you are looking for

  • Pay in advance before Goods Receipt Purchase Order

    Hi Experts, I would to know if it possible set a process of Paying in advance before to receive  Goods from Purchase Order Steps, like 1-Create P.O (ME21N). 2-Enter Incoming invoice (MIRO) (full or partial). 3-Goods Receipt Purchase Order (MIGO). Cou

  • Can't make "Back to my mac" work for me.

    Hello world I tried everything! Set routers on UPnP. Updated Firmware. Enabeld sharing. Logged out an in .Mac on all my Computers (same .Mac-account). Nothing! B2MM just won't work. Home mac doesn't show up on office mac and the other way round. I'll

  • CALL_FUNCTION_REMOTE_ERROR - Logon not possible (error in license check)

    Hello, We are getting the following dump in production system -SAP ECC 6.0. The wp s are getting terminated automatically as shown in dev_disp file. Sun Aug 10 12:15:38 2014 DpHdlDeadWp: W2 (pid=25722) terminated automatically Sun Aug 10 12:16:46 201

  • Back ground running of Standard reports

    Hi, I have some requirement in report processing. I need to run(in back ground) statndard structure reports for project def, WBS and activities and CM51 and CJI3. Then output should be saved in predefined folder in an excel format. The whole process

  • Business place and section code substitution

    Hi, We have defined each product line as division and this is defined  SAP  as business area.  example  Business area 1010 -  A Karnataka , 1020  - A  Delhi, 1030  - A  Chennai  1040  - B Karnataka 1050 -  B Delhi 1060  - B Chennai Also defined Busin