Problem with showing a group of records in dynamic page (PLS-00428  error)

Hi
I have problems with viewing a group of records from db. I've created Page, which "Page Type" attribute is "PL/SQL". In "PL/SQL Code" field, I've written very simple SQL query: "SELECT * FROM PORTAL_DEMO.EMP ;"
I'd like to generate HTML table with it's result. Unfortunately, every time I get the same Exception:
Error 30584: DBMS_SQL has raised an unhandled exception. ORA-06550: line 1, column 7: PLS-00428: an INTO clause is expected in this SELECT statement
Is it necessary to write a COURSOR (and use HTP function) to realize this functionality? I succeed, trying this way - but it is very uncomfortable ( a lot of code ).
What I have done in wrong way?
Please help me.
Best regards
Mario

How do I handle this?

Similar Messages

  • Problem with showing doc file in textarea of Jsp page

    try{
    int i;
    out.println("<TEXTAREA cols=90 rows=30 readonly>");//initiate text area
    String filename="C:\\AdminJudis\\judgement.doc";
    FileInputStream f=new FileInputStream(filename);
    //here you write the contents of the file
    while((i = f.read()) != -1){
    out.write((char)i);
    }catch(Exception e){
    System.out.println(e);
    out.println("</TEXTAREA>");
    I am using this code but it show some garbadge values in it

    KalyanSundar
    you have to give absolute path to file object ( physical full path)
    you can get this by
    getServletContext().getRealPath("testing/photos");
    so you will get something like
    d:\tomcat\webapps\testing\photos
    and pass this address to the file object
    i.e. File photos = new File(getServletContext().getRealPath("testing/photos"));

  • Hi! I´m having problems with showing video files in Qlab on my Macbook Air. A sound/video technician told me to "blow out" my Mac. Was told to use  cmd+ r  when restarting. Is this the right way?

    Hi! I´m having problems with showing video files in Qlab on my Macbook Air. It started suddenly. Consulted a sound/video technician who told me to "blow out" my Mac. Was told to use cmd+r  when restarting. Is this the right way to clean up my Mac? And is it likely that some kind of bug is causing problems for Qlab to show video files? I´ve already tried with a bunch of different video files and sometimes Qlab plays them and sometimes not. I need the Qlab playlist for a theatre show and only have a week until showtime so starting to really worry. Is there anyone out there who can help?

    Your Mac runs maintenance in the background for you.
    Command + R gives you access to restore, repair, or reformat the drive using OS X Recovery
    No idea why that was suggested.
    You may have a third party video player installed that's causing an incompatibility issue.
    Check these folders:
    /Library/Internet Plug-Ins/
    /Library/Input Methods/
    /Library/InputManagers/
    /Library/ScriptingAdditions
    ~/Library/Internet Plug-Ins/
    ~/Library/Input Methods/
    ~/Library/InputManagers/
    ~/Library/ScriptingAdditions
    The first four locations listed are in the root-level Library on your hard disk, not the user-level Library in your Home folder.The tilde (~) represents your Home folder.
    To access the Home folder in OS X Lion or Mountain Lion, open the Finder, hold the Option key, and chooseGo > Library.

  • We have problem with showing warnings "Inline with Field"s.

    We have problem with showing error messages "Inline with Field"s.
    1. We have a package ERROR, that collects all errors/warnings. It has a procedure PUT, that saves errors in the variables of the package.
    Package ERROR
    procedure put(ptable in varchar2, pcolumn in varchar2, pcode in varchar2, pmsg in varchar2);
    end;
    2. We have a database table. Its values are validated by a trigger (saving business rules).
    If an error occurs, then the trigger calls the procedure PUT ( to save an error message).
    For example ...
    CREATE TRIGGER ...
    --- Rule 21
    if substr(:new.ka_kood,1,1) != :new.s_kat then
    error.put('TABLE1','COLUMN1', -20167, ' MESSAGE 1 !');
    end if;
    END;
    3. I have a form of HTML DB that updates the table TABLE1
    I want to show this error message with the field COLUMN1 (Inline with Field) .
    I need same validations before and after updating values.
    Before update - to validate same input; after update - to show errors saved in the package ERROR.
    I also tried to use the global variables. For example ...
    WWV_FLOW.g_validation_ids_in_error(1):= 192645056564169139;
    WWV_FLOW.g_item_ids_in_error(1):= 192644674113169137 ;
    WWV_FLOW.g_validation_message(1):='MESSAGE1';
    And this did not help.
    To rise errors in programs - is there same API ?
    Or there is some other solutions ?
    How can I do this in HTML DB?

    Andres,
    I'm not sure exactly what you are trying to do. But perhaps this will help some. If your after-submit process runs DML that causes triggers to fire, which result in error messages to be accumulated in package variables, you could create a branch on the page that would be conditional on the existence of error messages in the package variables. The branch could be back to the same page or to a more customized error page. The page you branch to would use the error messages in the package variables to determine how to format the page with the error text. The key to doing this is to run it all in the same database session. The way to do that is to use a "direct" branch, i.e., one that does not do a URL redirect. You create this type of branch with the Create Branch wizard (Branch to Page) and do not check the "Branch to page using redirect" checkbox when you see it.
    Be sure to roll back any changes you do not want committed before the branch.
    Using HTML DB global package variables for anything like what you described is not supported.
    Scott

  • Problem with showing caller information on E90

    I recently purchased an E90 and it appears to have a problem with showing the information of the caller (name) for those numbers that have been synchronized with Outlook 2003 or using Bluetooth from a Sony-Ericsson. The presentation of the caller information for the numbers that I have punched in manually works just fine.
    Does anybody have the same problem and if so what is the solution if it is a configuration issue as it sure sounds like a software bug..
    Regards,
    -mats-

    unfortunately the quick office solution bundled with the E90 is very much inferior to the ones found in the older communicators. you Must PAY to upgrade to a better version w/c to my mind is still inferior to the basic version found in the 9X00/i series communicators
    9110,9210,i,9500,9300,i,E90 I still miss my 9300i , E71, E72 But......

  • Problem with showing mp3 album art in list view.

    Hello.
    I have litle problem with showing mp3 album artwork in list view.
    In SNOW LEOPARD all work fine, and all mp3 files have album art's preview in list mode in finder.
    But in LION i have only default preview mp3 icon.
    Option "Show icon preview" is already on!

    I have the fix!!!!
    I have had the same issue ever since Lion. Its been very painful not having album art preview in finder or the play button when rollover the file for so many versions of OSX. Today I worked hard in trying to solve the problem since Applecare support hasn't helped much, all they did was tell me to bring the computer in. The other main reason I got so motivated to try and fix this is because the DJ app for Mac only reads album art from the finder even if iTunes can display the album art. The other reason that got me curious is that my friends macbook pro album art worked fine, so I cross checked with his computer until I figured out a few things that helped and ultimately fixed the issue. FINALLY!
    My set up:
    - I have my full iTunes library folder on my external as I have over 700GB of music.
    - It includes all my database files in there, which is very important as I have many playlist settings from over 7 years of iTunes activity.
    SOLUTION:
    1. With every new computer I have purchased, I use to just pressed option on Mac and press iTunes to locate my folder (which I have said is located on my external drive).
    2. I tried today to press option again BUT locate and selected the default library in the user/music folder of my internal drive (standard setting from Apple).
    3. Miraculously, all the album art appeared in both my external drive library and also today's downloaded songs on my Macbook pro. Ofcourse with the new default location I don't have any songs or data.
    4. So I tried to find a way to keep this library data on my internal drive since it can help the finder display all my files properly, yes even have the play on rollover button but as well link it back to my external drive with all my 700GB songs.
    5. I then went into iTunes Preferences/Advance tab and in iTunes Media folder locationredirected the location to my external drive iTunes/ iTunes Media folder. If it asks to collate data, press NO.
    6. Then I quit iTunes.
    7. Next I copied the 4 files to my desktop from my external drive as I want to keep the data I have made with all my playlists etc. The four files are iTunes Library Extras.itdb ,iTunes Library Genius.itdb , iTunes Library.itl , iTunes Library.xml
    8. I then went to my internal drive User/Music/Itunes/ and dragged these 4 files I copied from my external drive into here and making sure to REPLACE the four existing files already there.
    9. Next open iTunes and you will find all your presettings appear with all your music linked to your external. What this does is keep the important library files on your internal drive (that somehow makes your finder files album art appear), BUT to read also all the music mp3 files located in the external drive (action from step 5)
    Presto!! All your music files whether on internal drive or external all the album art has appeared.
    Hope this helps!! Let me know if there are any other questions.
    I am on 10.8.1 running retina macbook pro.

  • Lync 2013 I have a strange problem concerning group call pickup in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having about 5-7 second Anybody out there having similar problems with call pickup Groups?

    HI
    I have a strange problem concerning  group call pickup  in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having  about 5-7 second
    Anybody out there having similar problems with call pickup Groups?

    Hi,
    Did you meet any other call delay when you using Lync?
    As the issue happen for Lync desktop client, it can be performance issue. Please check if there is any error message from FE Server when the issue happen.
    Also please check if you have updated Lync Server to the latest version, if not, update it and then test again.
    Best Regards,
    Eason Huang  
    Eason Huang
    TechNet Community Support

  • Problem with saving a pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21).

    Need advice on a saving file issue. I'm having problem with saving a .pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21). This is new as this error message just recently started to pop-up.

    More information about this issue can be found here:
    https://forums.adobe.com/thread/1672655
    A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
    Then download each of the individual updates and run them sequentially. 
    I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
    You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Adobe Reader 11.0 - Multilingual (MUI) installer    AdbeRdr11000_mui_Std
    Adobe Reader 11.0.01 update - Multilingual (MUI) installer    AdbeRdrUpd11001_MUI.msp
    Adobe Reader 11.0.02 update - All languages    AdbeRdrSecUpd11002.msp
    Adobe Reader 11.0.03 update - Multilingual (MUI) installer    AdbeRdrUpd11003_MUI.msp
    Adobe Reader 11.0.04 update - Multilingual (MUI) installer    AdbeRdrUpd11004_MUI.msp
    Adobe Reader 11.0.05 security update - All languages    AdbeRdrSecUpd11005.msp
    Adobe Reader 11.0.06 update - Multilingual (MUI) installer    AdbeRdrUpd11006_MUI.msp
    Adobe Reader 11.0.07 update - Multilingual (MUI) installer    AdbeRdrUpd11007_MUI.msp
    Adobe Reader 11.0.08 security update - All languages    AdbeRdrSecUpd11008.msp

  • Hi. I have a problem with downloading from app store while last three days. An error did mot allow me to that. It's number is 1009.

    I have a problem with downloading from app store while last three days. An error does not allow me to take any app. The error number is 1009.

    Thats the ugliest code I've seen in a while and may be hampering your abilities to debug it. No offense - you have to start somewhere - think of it as somewhat constructive criticism.
    However, I cannot find any place where this is happening. Its happening on line 193.
    Also, this only happens when you try to move certain pieces to certain squaresThat might be a clue. Try printing out the indexes before line 193 and see what happens. Maybe use a debugger to step through your code.

  • Hello I have a problem with security questions and i cant reset to my email  The error was   Exceeded Maximum Attempts  We apologize, but we were unable to verify your account information with the answers you provided to our security questions. You have

    Hello
    I have a problem with security questions and i cant reset to my email
    The error was
    Exceeded Maximum Attempts
    We apologize, but we were unable to verify your account information with the answers you provided to our security questions.
    You have made too many attempts to answer these questions. So, for security reasons, you will not be able to reset password for the next eight hours.
    Click here      for assistance.
    i waited more than eight hours. and back to my account but it is the same ( no change ) i cant find forgot your answers
    http://www.traidnt.net/vb/attachment...134863-333.jpg
    can you help me please

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • Hello! The new version of Firefox I have a problem with opening the site VKontakte. The browser displays the following error: "Firefox has determined that the s

    Hello!
    The new version of Firefox I have a problem with opening the site VKontakte. The browser displays the following error: "Firefox has determined that the server redirects the request for this address in a way that it will never end." How to solve this problem? Please excuse me for my English.
    Sincerely, Vsevolod.

    You're welcome

  • Terminal Server Licensing Problems with GPO Security Group License Server

    Hello,
    I have two fresh installs of W2K12R2.
    One is RD Session Host and the other one is the License Server. Everything is fine until I active the GPO Security Group License Server. After that the License Server gives no licenses
    to die clients (we have User und Device CALs). TS Licensing Diagnostic’s shows no errors, the number of available licenses is displayed correctly, even the state of GPO Security Group License Server is correctly shown as "active" and die
    Membership in the Group "RDS-Endpointserver" is "Yes". Eventlog shows no Errors. Log in on the session host is even possible, maybe because the RDS-Service is in evaluation time.
    If the GPO Security Group License Server is disabled again, the server starts to serve licenses as expected.
    I don’t know what I can do anymore, never had problems with exact the same setup under W2K8, but with W2K12 is the second time I notice this issue.
    Thanks for your ideas,
    Andreas

    Hi Andreas,
    Thank you for posting in Windows Server Forum.
    Sorry to inform but there is no official document for server 2012 related to this event, you can go through below article for reference.
    You cannot use a security group to add computer accounts to the Terminal Server Computers group. You must add each computer account explicitly. To verify whether an RD Session Host server is allowed to request RDS CALs from the Remote Desktop license server,
    you can use the IsSecureAccessAllowed method of Win32_TSLicenseServer class. For more details about this method, click here.
    1. License Diagnosis tool returns error "License server <computer name> cannot issue RDS CALs to the Remote Desktop Session Host Server because the 'License server security group' Group
    Policy setting is enabled."
    2.Control the Issuance of RDS CALs
    Note: You should only enable this policy setting when the license server is a member of a domain. You can only add computer accounts for RD Session Host servers to the RDS Endpoint Servers group when the license server is a member of a domain.
    Hope it helps!
    Thanks, 
    Dharmesh

  • ACS 5.3 Authorization problem with using Identity Groups in Access Policy Rule

    Hello guys, I am found a problem which I can't solve regarding authorization with using Identity Groups in Access Policy rule.
    ACS version: 5.3.0.40.6 (internal build B.839)
    I have very simple RADIUS Authorization rule which authorize user on behalf of right Identity Group.
    Requested Identity Group exist
    Testing user is created in Internal Users and has assigned requested Identity Group
    Radius Access Policy: 
    Authentication against Identity Store Sequence, where authorization server is external RSA SecurID device and additional attributes retrieval is configured from Internal Users.
    Authorization is very simple – One Rule with only one Condition which is: Identity Group - in - Requested_Testing_Rule. Then Default rule is set to Deny.
    When I will try login with my testing user then authentication against RSA SecurID is OK, but authorization will be denied by Default rule – It looks like my Rule with Identity Group is totally omitted.
    I am managing several other ACS servers (version 5.3 but with older patches) where similar rules are working without problem.
    What I am tested:
    Remove testing user and create his account again.
    Rename Identity Group
    Use another Identity Group
    Remove Access Policy rule and create it again
    Use Compound Condition: System:Identity Group
    Use Compound Condition: System:UserID instead of Identity Group in Rule (it is working without problem)
    Do you have any idea where problem can be?

    OK guys, it started working yesterday without any configuration change. Maybe it was some database inconsistence wich was solved by ACS itself.

  • Tran.FBL1N - problem with showing correct amount regarding partial paymants

    Hello,
    Every day at my workplace I use transaction FBL1N which I use to see how much money I own to vendors and also to se how much is payed. However I have problem whit showing payed amounts for partial paymants (transaction F-59). For example:
    I own some vendor EUR 20.000,00 and I decide to pay him EUR 15.000,00 using partial paymant option (transaction F-59) because that's amount I have at the moment on my bank account. After that, when I choose that vendor using transaction FBL1N (with enabled option Open items on current date) so I coiuld see how much it is left to pay him, amount EUR 15.000,00 is not subtracted and reprt is still showing me that I own him EUR 20.000,00 which ofcourse is not correct.
    I also must note that in case I payed that vendor full amount I wouldn't have this problem and transaction FBL1N would show correct amount.
    I hope someone can advise me about this and help me solve my issue.
    Any help is appreciated and many thanks in advance for prompt replys.
    Cheers;)
    Adi
    Edited by: samnovice on Jul 18, 2011 1:22 PM

    thnx loky46, I understand it better now - I hva one more important question regarding this:
    Is there any way I can found total amount I own to one or more vendors (_regardless_ if it is full or partial paymant or combination of both paymants)? For example:
    Line 1 || VENDOR I || Eur 20.000,00 RE
    Line 2 || VENDOR I || Eur 15.000,00 AB
    TOTAL                     Eur   5.000,00
    but without using this option:
    you have to add the field "invoice reference" to your line layout and make a subtotal on it.
    Also, is it possible for line Eur 15.000,00 to become Close item because that part is payed and for rest of amount of Eur 5.000 to be Open item because is still not payed. I assume this can't be done but on this way I could now exact total amount of money which I own to my vendor(s) and it would be a of great help to me in every-day work.
    Thank you.
    Edited by: samnovice on Jul 19, 2011 3:26 PM

  • Problem with showing palette component which contains swing components

    hello, I have found a simple problem with jdeveloper IDE but this simple problem delays my project and it make late a big project so help me please. I want to add somes swing components to a JFrame
    but when I try to show the palette component as usual I didn't find the swing components like habit.
    Best Regards

    duplicate
    Frank

Maybe you are looking for