Bug report? WITH the statement contained in the classic report LOV

I've defined a "list of selection with query based lov' in a column of the classic report, and if I try a clause
with data as (Select 4 qty from dual)
select round(100/qty*(level-1)) perc, round(100/qty*(level-1)) c
from data
connect by level <= qty +1
I get this error
WWV_FLOW_UTILITIES. ERR_LOV
ORA-06550: line 1, column 45: PLS-00428: an INTO clause in this SELECT statement
ORA-06512: at "SYS." DBMS_SYS_SQL", line 1249
ORA-06512: at "SYS." WWV_DBMS_SQL', line 930
ORA-06512: at "SYS." WWV_DBMS_SQL', line 999
ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 695
ORA-06512: at "APEX_040200.WWV_FLOW_UTILITIES", line 927 >
It is fine when I remove the WITH and put my value inside the rest of the query.

Wait?

Request Express 4.2.1.00.08

I think you just need to make it clearer to the 'engine '. :)

Try this:

select  perc d, c r
from (
  with data as (Select 4 qty from dual)
  select round(100/qty*(level-1)) perc, round(100/qty*(level-1)) c
  from data
  connect by level <= qty +1
)

I found that LOV analysis can be picky sometimes.

Thank you
-Jorge

Tags: Database

Similar Questions

  • With the help of LOV

    Hello

    I need to solve the following problem:
    I have two LOV: L1 and L2. (SELECT the ID OF the TABLE) is filled with L1, L2 is filled by (SELECT the NAME OF the TABLE). When I pick something L1, I want value selected in L2 changed code name is selected in the L1. Please, wait for your help.

    Thank you

    1. create LOV on for example item1

    SELECT dname d, deptno r FROM dept;
    

    2. create LOV on item2 example

    SELECT dname d, deptno r FROM dept
    WHERE deptno = :P1_DEPT
    UNION ALL
    SELECT dname d, deptno r FROM dept
    WHERE deptno != :P1_DEPT
    

    3. for the second LOV, select LOV1 in the fields "Cascading LOV Parent Items" and "Page Item must send".

    That way you should get all values in your LOV2, but the focus would be on the value based on the LOV1 selected into one.

  • First group title below displays under the column headers using the model 23 classic report with the help of repeat titles on break

    Hello

    I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.


    When I look at firebug code I saw that all the tables but the first, the break line is included in the last line of the previous table, so I can see how it did not work for the holidays since.

    I have tow questions.

    1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.

    2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.

    Example of a question can be seen at apex.oracle.com at home

    Thank you

    Brad

    Roadling wrote:

    Hello

    I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.

    1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.

    The Standard report template definition in issue 23 contains thead and tbody elements:

    Before the column header

    
    

    Column title template

    #COLUMN_HEADER#
    

    After the title column

    
    
    

    After the lines

    
    
    
    
    
    
    #PAGINATION#
    
    
    
    

    This is intentional, the best practice for marking up HTML tables. What is not expected is the problem that arises when this model is used with the break of repeat titles on break formatting option. The repeated headings result table consisting of soup of tags containing several poorly constructed tbody and thead, which is not valid elements.

    2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.

    Create a copy of the report model Standard in Standard (break formatting) for use with reports of the break, remove the thead and tbody definitions of template tags and the breakdown of the reports to use the new model of change. (Or, if you use mainly break reports using the Standard template, keep the tags in the copy and remove them from the original in order to minimize the number of reports, you need to change.)

    Personally, I would create a report model of line custom to break complex reports in order to be able to have complete control over the structure and presentation.

  • Can ANY product Adobe CC ingest or import AVCHD (.mts) files with the metadata accompanying .xmp sidecar files?

    I had no luck with the sidecar xmp files relative in any product, including the prelude, Premiere Pro, Lightroom or bridge.

    Hi Mike,.

    Okay, I found the outline of the bug. I was initially on the assumption that the question was how the XMP was written by Daminion. This is not the case. Their XMP seems fine. The bug is with the way we are going to analyze these JVC AVCHD files. It will take some research more sort everything, but at least now I'm on the right track. I tested the creation of metadata for a variety of other files AVCHD from Canon and Sony. All these files caused first create the XMP files with the name xxx.xmp. But, when I added the metadata in the JVC, the xmp always emerged as xxx.mts.xmp file. Then... I did some more tests with the file. If the extension of the file to rename. MPG, suddenly all the XMP you added the file in Daminion appeared. All the new metadata that I created has also been added to this file.

    It seems that there is a specific bug in our file for this JVC AVCHD flavor Analyzer. I'll get this connected and see if I can get it fixed. In the meantime, you can rename the file extension. MPG, if you want to read your existing metadata. Or... you can add to the file xxx.mts.xmp.

    Insect. Thanks for the help to identify him.

    ~ Mitch

  • How to return to the classic user interface?

    I used the UI classic (this VERY old interface) with Firefox 28.0a1 nightly. My last update was November 10, 2013. Then I updated my nightly today and all of a sudden, after the reboot, my UI changed for the worse. Surely enough, it didn't look like the default, look-alike of Google Chrome, but it's just as bad. So my question is, how do I change it back to this old classic user interface? If possible, don't tell me modules, please... Thank you...

    Mozilla said that it was necessary to create a user interface that is the same for mobile versions and Firefox desktop.

    No, but it can be changed with the Classic theme restaurateur extension and selected pieces of userChrome.css or stylish user styles.

  • IN WINDOWS 7 HP, HOW CAN I GET RID OF THE CLASSIC SKIN?

    Had a bit of a hiccup and lost my favorite settings now am stuck with the Classic skin... tried hsve appearance & personalization... have a few themes registered here but I'm stuck... for now I'm stuck with windows XP opening the files and also my programs list is white... so too my keyboard on the screen... etc... Thank you...

    Couple of things to try:

    1 Type "Aero" (without the quotes) and click Run - 'find and fix problems with transparency and other Visual effects

    2 type "services" (without the quotes) and click on "services" in the list of results. Make sure that "Thèmes" are listed as automatic and started. You will need to be at the level of the admin to change it, then right click on services in the results and click on run as administrator if you need to start.

    EDIT - also check this:

    3 (mode icon display no categories) . Government, click . In the [Advanced] tab, under 'performance', click on . Make sure "Use Visual Styles on Windows and buttons" is checked. Apparently, some say it might stop other than in some cases classic themes.

  • a bug with the structure that contains bit fields?

    using CVI 8.5. I tried to set up a structure that contains bit fields. Although the structure compiles, I encounter strange behavior when you access individual fields, while the value of the overall structure seems ok. Here is the structure:

    typedef struct
    {
    Union
    {
    struct
    {
    unsigned int Flag1: 1;
    unsigned int dummy: 3;
    unsigned int Flag2: 4;
    unsigned int Indicateur3: 4;
    unsigned int dummy2: 4;
    };
    unsigned short;
    } flags;
    } flagset;

    When you set the Member 'all' to a value so that one or more indicators, but not all, are false, I still read the individual like real flags, until all flags are set to false.

    I missed something? This definition is really legal?

    Please find attached a file showing the problem.

    The same issue is at stake with or without the ternary operator. It turns out the problem was not specifically with printf, but rather a bug in the compiler that is related to the evaluation of the members of anonymous internal structures. If several internal anonymous struct members are evaluated before the compiler actually do anything with the result - which is the case when passing arguments to a function-, so they will all be evaluates the value that was evaluated last.

    A. Mert

    National Instruments

  • Bug with the active State and normal state in the composition

    Hello

    I'm having a problem with the text on a composition between breakpoints. Here's an example: I the composition of new featured and I have a button with a font of 22 and then access a breakpoint and replace the police 16. The problem is that the button keeps the size of the text in the normal state on two breakpoints, but the active status changes to 16 for two breakpoints. I tried to change back the active State to a breakpoint at 22 and the other at 16, but it changes back to the last number used on the last breakpoint. Again, the normal State remains the same. Y at - it something I do or is it a bug?

    Hello Cristina,

    Please see Re: "Text on current breakpoint" button non-functional

    I would also add that the active state inherits the attributes to Normal State, so if you have your normal formatting through the breakpoints set in place as desired (for example, 22px for a breakpoint and 16px for another breakpoint), the active State will, by default, use these settings.

    If, however, you're done by explicitly change the active status value so that it ends up enforcement at all breakpoints, you can return the default by pressing the "Reset default" button in the States Panel.

    I hope this helps.

    Abhishek

  • Bug? : cannot execute predefined "last awr" report with the latest version of the SQL Developer

    Using sql developer before 4.x... report works fine

    Using SQL developer 4.0.0.13... report fails with ORA-01422

    using the actual query to generate awr against the same range of component snap works perfectly

    I opened a SR on the question

    Thank you

    It's always a good idea to open a SR when you are able.  I assume that you have already received a response from support.  For others I wondered about this, the question is likely related to running the report against a CCR environment, as indicated in the following bug:

    Bug 18132564 - LAST AWR REPORT FAILS WITH ORA-01422 IN CCR ENVIRONMENTS

    The call of the AWR report requires parameters for a DB and an ID of Instance, so that the report should run, as in earlier versions, for only the current instance, or be modified to run all instances in the cluster.

    Kind regards

    Gary

    SQL development team

    P.S.: And, in fact, a discussion prior forum - ai2 4.0-AWR and ASH giving ora-01427

    lead following bugs are connected and supposed to be fixed for SQL Developer 4.0...


    Bug 17481944 - PERFORMANCE PANELS NEED AWR/ASH/ADDM FOR RAC ENVIRONMENTS SUPPORT


    ... with the developer commenting

    I've added a number instance selection control to the various reports: ASH,.
    AWR, difference and SQL. The control is supposed to be visible when the
    connection is a RAC system, tests should a RAC.

    So if you are not on a RAC system, or are on CARS but do not see the selection number instance control, please let us know.

    Post edited by: Gary Graham

  • Bug in reporter Panel updated with the property Value Chart

    Hi guys,.

    Defer to what the Panel update property is set to true and chart is updated with the help of node "Property value", data are not updated graphics. Capture of the block diagram and VI (2014) screen gasket.

    Is this a known bug, and is there any fix for it?

    Thank you

    Knockaert

    I have not tried running your code, but here are some possible solutions:

    1. There is a primitive to write the value of a control by index (added in ~ 2013). This is designed to be used others live too and should work like a local.
    2. You can send data using another way (like a queue, etc.).
    3. Use the Ctl Val.Set method.
    4. Do not use a chart. Use a chart and manage the buffer yourself. You can find some examples if you're looking for graph XY.
  • Bug report: website does not display the flash with version 11.4 data

    A Web site, I have used for years is no longer present all the data with the new version of Flash Player. I see a "loading" spinning wheel instead, who never stops turning. Others using the site meet the same problem.

    I removed 11.4 and installed 10.3 and all is well again.

    __________________________________________________________

    Web site: gmws.edupage.org/timetable (the school calendar that I administer). A calendar should appear, and clicking on 'teacher', 'class', etc. should give a drop-down list of options. (Try less 10.3 and you will see the correct behavior).

    I discovered that I was using 14 Firefox; When I updated, it works fine.

    Sorry for the confusion.

  • HP Officejet Pro 8610: How can I get a report with the total number of pages printed on my HP Officejet Pro 8610?

    The number of pages that print is so critical to a choice to use the "HP Instant ink Plan' or not, how can I find the total number of pages that I printed on my brand new (installed 2 days ago) 8610?  And if I can, there are a total of 'resettable' or working capital?  Don't see anything in the user guide and a search gives nothing usable on this blog.

    Wireless printer installed on an old PC with Windows XP SP3.  I also of course install with cable network but so far it works well on my home network without a network cable.  Is there any operating system, I also have a laptop Lenovo Vista on which I can install this printer.

    Please do not answer I can find total by counting the number of pieces of paper that I have.  Surely the inner workings of this beautiful machine must have the requested data as well as HP can say my consumption if I select the monthly plan of ink!

    This 8610 was a good buy (net $89,00 after the resumption of my six years, Deskjet J36xx) at Office Depot/Max who has of course influenced my decision to purchase.  So far, I am very happy with the print quality and speed, have not yet tried the scanner and will probably never use the fax machine since I have no land line phone.

    Thank you

    Harry

    Hello

    Article #2 of the report printer Ststus will tell you. Please try:

    Printer status report

    The printer status report to view current information about the printer and the status of the ink cartridges. Also use the report to State printer for you help to solve the problems associated with the printer.

    The printer status report contains also a log of recent events.

    If you need to call HP, it is often useful to print the printer status report before calling.

    To print the printer status report

    1. in the Control Panel printer display, press and drag your finger on the screen and then press Setup.

    2. press on printing reports and then tap Printer Status Report.

    Kind regards.

  • Bug in the classic report based on the function?

    A simple example, suppose I want a classic report in which I can change the sort field by selecting in the P1_SORTFIELD element. Apex 4.2, I was able to implement the report using the PL/SQL function

    return "select ENAME, SAL from EMP by | : P1_SORTFIELD;

    I can't do that in Apex 5 on my workspace apex.oracle.com. I either get a runtime error "SQL command not completed property" if I use generic column names, or 'not all variables' if parse error I do not have.

    My real application use generic column names, so I am more interested in a solution to this.  For example, I tried to create a report with the source

    return "select ENAME from EMP by ENAME;

    If I run using the generic column names I always get the runtime error "command SQL not successfully completed.

    Is this a bug?

    Ed Sciore

    Hi Ed,

    I ran your application in debug mode and displays the following error output.

    show report
    determine column headings
    
    ...Execute Statement: select ENAME, SAL from EMP order by ename
    order by 1 nulls last
    
    Logging exception:
    Sqlerrm: ORA-00933: SQL command not properly ended
    Backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1445
    ORA-06512: at "SYS.WWV_DBMS_SQL", line 464
    ORA-06512: at "SYS.WWV_DBMS_SQL", line 475
    ORA-06512: at "APEX_050000.WWV_FLOW_DYNAMIC_EXEC", line 411
    

    See the other "order by null 1 last" that is added to your statement. This is what the origin of the problem. The additional order by is caused by the "Sortable" indicator enabled for your columns. If you disable the sort, because will work you who control in your SQL statement in the report well.

    I'll take a look tomorrow, if we had a different behavior in 4.2 to automatically disable these flags and how it is actually easy to determine safe at the time of the design that your pl/sql function returns a SQL statement with an ORDER BY clause.

    Concerning

    Patrick

    Member of the APEX development team

  • It is not possible to program the report with a user with the role of the author.

    Hello

    I tried to schedule the report using weblogic user (who has the admin role) it worked perfectly. But when I try to log on by using the user (who has the role of the author) and when I try to schedule a report I get the following error. It is clustered environment.


    [nQSError: 77006] Oracle BI presentation server error: A fatal error occurred during the processing of the request. The server responded with: an authentication failure.
    Error codes: IHVF6OM7:OPR4ONWY:U9IM8TAC
    Geographical area: saw.connectionPool.getConnection, saw.securitysubsystem.checkauthentication.runimpl, saw.securitysubsystem.checkauthentication, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    ODBC driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access to the requested connection is denied.
    [nQSError: 43113] The message returned by OBIS.
    [nQSError: 13039] The imposter does not exist in the Security Service of BI. (08004)



    Error codes:
    Geographical area: saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    .
    Error codes: AGEGTYVF
    AgentID: / users/richard/Test Mail Report
    ... Retry Agent response content loop... Sleep for 8 seconds. [nQSError: 77006] Oracle BI presentation server error: A fatal error occurred during the processing of the request. The server responded with: an authentication failure.
    Error codes: IHVF6OM7:OPR4ONWY:U9IM8TAC
    Geographical area: saw.connectionPool.getConnection, saw.securitysubsystem.checkauthentication.runimpl, saw.securitysubsystem.checkauthentication, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    ODBC driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access to the requested connection is denied.
    [nQSError: 43113] The message returned by OBIS.
    [nQSError: 13039] The imposter does not exist in the Security Service of BI. (08004)



    Error codes:
    Geographical area: saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    .
    Error codes: AGEGTYVF
    AgentID: / users/richard/Test Mail Report
    ... Retry Agent response content loop... Sleep for 6 seconds. [nQSError: 77006] Oracle BI presentation server error: A fatal error occurred during the processing of the request. The server responded with: an authentication failure.
    Error codes: IHVF6OM7:OPR4ONWY:U9IM8TAC
    Geographical area: saw.connectionPool.getConnection, saw.securitysubsystem.checkauthentication.runimpl, saw.securitysubsystem.checkauthentication, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    ODBC driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access to the requested connection is denied.
    [nQSError: 43113] The message returned by OBIS.
    [nQSError: 13039] The imposter does not exist in the Security Service of BI. (08004)



    Error codes:
    Geographical area: saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    .
    Error codes: AGEGTYVF
    AgentID: / users/richard/Test Mail Report

    Exceeded number of retries of request for the GetResponseContent method.





    Can someone help me with this.

    Thank you
    Rondo.

    Published by: RONDO on December 12, 2012 16:07

    Check Doc ID 1446877.1

    According to the doc Fix to apply the hotfix 13553428:

    The fix for this problem is to apply the hotfix for the following new bug.

    Bug 13553428 - QA:BLK:DELIVER Corp. OID LDAP users FAILED WITH the COPYCAT DOES'NT ARE.

    Patch 13553428: QA:BLK:DELIVER users to Corp OID LDAP FAILED WITH the COPYCAT DOES'NT ARE.

    The patch is available on MOS and can be applied to all platforms.

    Or access via this link:
    https://updates.Oracle.com/Orion/services/download/p13553428_111160_Generic.zip?Aru=14732325&patch_file=p13553428_111160_Generic.zip

    Please refer to the Readme file. It is important to shut down the system before applying the patch. Then restart.
    When you restart Weblogic should automatically detect that bimiddleware.ear has changed to OH and automatically redeploy it the application

    If it helps pls mark as correct

    Published by: VIEREN Srini December 12, 2012 19:39

  • I can't seem to open additional tabs with the +, the drop down menu, or T command? Is this a bug or am I missing something?

    Hello
    I can't seem to open additional tabs with the +, the drop down menu, or T command? Is this a bug or am I missing something?

    I use Firefox 30.0 in OS 10.8.5 on a Mac Book Pro with the Intel Core i7 2.7 GHz and 1333 MHz DDR3 8 GB memory.

    Thanks in advance,
    Pat

    You have a "Community Toolbar" extension installed? Which has been reported by other users of Mac as affecting the new tab feature in Firefox 30.

Maybe you are looking for