Is There A Character Limit to Region Source?

I created a PL/SQL Dynamic Content region. I was in the process of adding PL/SQL code to region source and every thing was working fine when I started getting the following error when ever I press the Apply Changes button:
1 error has occurred
ORA-06550: line 609, column 1: PLS-00103: Encountered the symbol "END" when expecting one of the following: * & = - + ; < / > at in is mod remainder not rem <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between || member SUBMULTISET_ The symbol ";" was substituted for "END" to continue.
I cannot find anything wrong with the PL/SQL code. I did notice however, that if I remove enough lines of code the error message goes away. Is there some limit to the number of lines or number of characters the region source can hold?? If so is there some way to increase this limit? Thanks for the help.

I understand what you are saying. I looked up mod_plsql and understand this is a limitation of the Oracle HTTP web server. But is there a way to configure the web server so it can handle more data? I find it hard to belive that people are not writting a lot longer PL/SQL code than I am.

Similar Messages

  • Is there a character limit for a field in CrystalReports?

    Is there a character limit for a field in CrystalReports?
    Hello,
    I'm trying to display a long text (+100.000 characters) stored in a MySql database in CrystalReports but CR is not showing the complete text. Is this because there is a length limit for fields in CR?
    Thanks,
    Eddy G.

    This is not a great answer, but you can base your report on a SQL Command, then use something like this for the command(MS SQL):
    select
      case when length(table.field) > 65535
          then substring(table.field,1,65535)
          else table.field end as field_part1,
      case when length(table.field) > 65536+65535
          then substring(table.field,65536, 65535)
          when length(table.field) between 65536 and 65536+65535
          then substring(table.field,65536, length(table.field)-65535)
          else '' end as field_part2
    from table...
    Then in the report, display both fields where you want the BLOB data.
    HTH,
    Carl

  • Is there a character limit for iTunes U course postings when viewing in iOS app?

    I have created a course in iTunes U using the web interface, but when I view the course on my iPad it doesn't show the entire post. Is there a character limit in the app or something for what will display? 
    To make things even stranger, I went back to the course editor in my browser and saved it again (effectively re-posting it) and when I restarted the iTunes U app in iOS the post was cut even shorter!  I'm using an iPad 3rd gen with iOS 6.0.1.

    No, there is no workaround. You would need to find a downloadable copy of old apps.

  • Is there a character limit in Mail on iPhone or iPad?

    When composing an email message, in the Mail app, is there a character limit in the body of the email on an iPhone or iPad?

    I did lots of testing last night on this issue.
    It's quite repeatable. I tested it on LV 7.1 (OSX) and the bug is there, but LV 8b120 works OK.
    I have attached the LLB that I sent to tech support.
    Here is the report I sent:
    Problem Description :
    Apparently there is a character limit on ENUM
    items.
    If I add two characters to any item in this enum,
    LabVIEW will CRASH when I apply changes. The
    crash occurs without actually RUNNING the
    program.
    I have tested on LabVIEW 7.0 (Win2000) and
    7.1.1 (OS X). Both exhibit the same behavior.
    LabVIEW 8.0 b120 (OS X) does NOT crash - it
    works correctly.
    STEPS TO REPRODUCE:
    1... Open the library and keep HDT SORT
    CHANNELS INTO PAGES.vi open.
    2... Open HDT UNITS CONTROL.ctl in the library.
    3... Add two or more characters to any item in
    the ENUM.
    4... APPLY CHANGES
    5... Watch LabVIEW crash.
    It certainly leads to bizarre behavior - If you remove the UNITS control from the HDT DISPLAY UNITS vi while you change the typedef, there is no crash. But as soon as you put it back and wire it to the connector, ALL the terminals turn to (void).
    Message Edited by CoastalMaineBird on 11-18-2005 09:11 AM
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks
    Attachments:
    LabVIEWCrasher.zip ‏906 KB

  • Is there a character limit on PL/SQL region code?

    Hi,
    We are moving a app from the Oracle apex site (10g) to our apex environment (9.2) and when I open a Dynamic PL/SQL region on a page, add a space to the declaration area just to cause it to be different, I try and save it and it goes to:
    "The webpage cannot be found"
    This happened at another job and I believe it was a environment setting to extend the character limit ability.???
    If so, what do I change and how do I change it?
    If not, any ideas?
    Thank you, Bill

    Hello Bill,
    >> … to our apex environment (9.2)
    The following might give you some more information on your possible situation -
    Re: Is there a maximum number of characters allowed in PL/SQL Anonymous Blo
    ORA-06550 recieved when trying to modify existing page after 3.1 Apex upg
    Regards,
    Arie.

  • xsql:query - Is there a character limit on the SQL contained in the tag?

    Is there a limit to the length of the SQL contained in the
    <xsql:query> tag ?
    I've been very successful with short queries using xsql:query
    tags, however, for longer queries they seem to fail the XML
    Syntax check using JDeveloper 3.2.3.
    The resulting error from the XSQLServlet is XSQL-005 page is not
    well formed with the following:
    XML-0201: (Fatal Error) Expected name instead of .
    XML-0122: (Fatal Error) '=' missing in attribute.
    XML-0125: (Fatal Error) Attribute value should start with quote
    (Posted example 10/16/01)

    Hello Bill,
    >> … to our apex environment (9.2)
    The following might give you some more information on your possible situation -
    Re: Is there a maximum number of characters allowed in PL/SQL Anonymous Blo
    ORA-06550 recieved when trying to modify existing page after 3.1 Apex upg
    Regards,
    Arie.

  • Are there any character limits to PDF keyword metadata?

    I'm working on a project that involves scanning a lot of handwritten documents, so manually entering keyword metadata is key for searchability. Is there any character limit to individual keywords or the entire keywords field?
    Thanks,
    Sean

    Well I answered the second part of my question myself. It turns out the keyword field in Acrobat has a 1,999 character limit.

  • Region Source Line Limit?

    I have a plsql anonymous block which returns html code for the page.This reproduces the same page multiple times with page breaks between each one (for printing purposes).
    when the region source is more than 350 lines I cannot 'apply changes'. I just get redirected to 'page cannot be displayed' but if I reformat the code so it takes up fewer lines it apply's fine.
    Is there a line limit on the region source? If so is it documented and why is there no error message for such cases?
    Thanks
    Tom

    Hello,
    That's basically what Scott is telling him to do. Just store his code in a stored procedure in the database and that call the procedure from his region.
    It's a very good way to get all your custom plsql code in one place instead of spread around your application.
    Carl
    Message was edited by:
    Carl Backstrom

  • Is there's a way to get the Region Source of a Page?

    Is there's a way (command, function...) to get the Region Source of a Page???? I woud like to assign a variable a query (but the query of the Region Source).

    Hi,
    have a look at the APEX dictionary views. The one you are looking for is APEX_APPLICATION_PAGE_REGIONS.
    In the Builder you can find all of them at "Application Builder" -> Tasks (Sidebar) -> Application Express Views.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • ORA-06502 when searching region source

    The following is listed as a limitation of Apex 3.1, for both interactive reports and the application builder, although the specific context is not mentioned.
    The row length limit is 32k (just as with Classic Reports). You can include more columns but if too many are selected to be displayed, the user will get the following error - "ORA-06502: PL/SQL: numeric or value error: character string buffer too small". This should be considered when creating your report.You can find that here: http://www.oracle.com/technology/products/database/application_express/html/3.1_known_issues.html
    I'm getting this very error when trying to search region source for one of my application items. Presumably the region source is larger than the 32k limit where my particular page item is being used?
    Can anyone from Oracle verify that this is still a problem in Apex 3.2.0.00.27?
    Earl

    >
    The following is listed as a limitation of Apex 3.1, for both interactive reports and the application builder, although the specific context is not mentioned.
    The row length limit is 32k (just as with Classic Reports). You can include more columns but if too many are selected to be displayed, the user will get the following error - "ORA-06502: PL/SQL: numeric or value error: character string buffer too small". This should be considered when creating your report.
    You can find that here: http://www.oracle.com/technology/products/database/application_express/html/3.1_known_issues.html
    I'm getting this very error when trying to search region source for one of my application items. Presumably the region source is larger than the 32k limit where my particular page item is being used?
    Can anyone from Oracle verify that this is still a problem in Apex 3.2.0.00.27?
    EarlAnyone have any ideas about the above? I'm getting this error when searching region source code, here:
    Home>Application Builder>Application nnn>Application Reports>Page Components>Search Region Source
    Any help would be appreciated. Thanks.
    Earl

  • Copying multiple sheets, 255 character limit

    Hi all -
    I have a script that copies multiple worksheets to a new workbook based on criteria.  All the worksheets use the same template.  Two of the cells (A6 & A8) contain more than 255 characters so all the text does not get transferred to the new workbook.  Is there a way to 'bypass' the 255 character limit?  If not, can I somehow tie in the copying of A6 & A8 to the copying of 'every sheet' without actually scripting every single sheet?  Make sense?  Here's the code -
    tell application "Microsoft Excel"
         set xbook to make new workbook
         tell workbook "Retail_Product_Specs.xls"
             choose from list {"Whole Food Juices, 10.5oz", "Whole Food Juices, 32.0oz", "Antioxidant Elixir, 11.0oz"} with title "Exporting Product Specifications" with prompt "Choose Method of Export:"
             if result is equal to {"Whole Food Juices, 10.5oz"} then
                   set exportSheets to every sheet whose name contains "10.5"
                   set savePath to "Users:KRT:Documents:Sambazon:Production:Finished Product Specs:Product Specs:Copacker Specifications:10.5oz Whole Food:Spec-WF-10.5oz.xls"
             else if result is equal to {"Whole Food Juices, 32.0oz"} then
                   set exportSheets to every sheet whose name contains "32.0"
                   set savePath to "Users:KRT:Documents:Sambazon:Production:Finished Product Specs:Product Specs:Copacker Specifications:32.0oz Whole Food:Spec-WF-32.0oz.xls"
             else if result is equal to {"Antioxidant Elixir, 11.0oz"} then
                   set exportSheets to every sheet whose name contains "Elixir"
                   set savePath to "Users:KRT:Desktop:Test.xls"
      --set savePath to "Users:KRT:Documents:Sambazon:Production:Finished Product Specs:Product Specs:Copacker Specifications:Antioxidant Elixir:Spec-Elixir-11.0oz.xls"
             end if
         end tell
      copy worksheet exportSheets before sheet "Sheet1" of xbook
         tell active workbook
             set bounds of first window to {3, 124, 563, 861}
             delete sheet "Sheet1"
      save workbook as filename savePath
             set sPWORD to "dummy"
             repeat with tName in (get link sources type link type Excel links)
      break link name tName type link type Excel links
             end repeat
             repeat with tName in (get link sources type link type OLE links)
      break link name tName type link type OLE links
             end repeat
         end tell
      --close active workbook
    end tell
    Thank you! 

    I'm sorry, here's a quick summary - all of our product specs are in one workbook.  There's 5 different product categories (only scripting 3 for now).  Each category of product is produced at a different manufacturing plant.  When changes are made to the spec sheets, I need to export each category of products into their own new workbook so I can distribute it to the appropriate plant.  I might need to export one category, some, or all.  Make sense?  Pain in butt. 
    So!  I think the code you provided is heading in the right direction...but I obviously have something in the wrong spot.  It's taking the copied sheets in xbook and making three additional copies.  Also, the cells are not being copied.  I'm assuming the "copy worksheets exportSheets before..." is in the wrong spot, but I'm not sure how to fix it. 
    Also, I could duplicate the original workbook and delete unwanted sheets.  The current script has grown beyond my initial expectation, so that might be a better option!
    BTW - I don't understand why you have "set value of cell..." and then "set value of range...".  Can these both be cell or range, or is there a reason for the two? 
    Thank you so much for your patience and details!
    tell application "Microsoft Excel"
              set xbook to make new workbook
              tell workbook "Retail_Product_Specs.xls"
                        choose from list {"Whole Food Juices, 10.5oz", "Whole Food Juices, 32.0oz", "Antioxidant Elixir, 11.0oz"} with title "Exporting Product Specifications" with prompt "Choose Method of Export:"
                        if result is equal to {"Whole Food Juices, 10.5oz"} then
                                  set exportSheets to every sheet whose name contains "10.5"
                                  set savePath to "Users:KRT:Documents:Sambazon:Production:Finished Product Specs:Product Specs:Copacker Specifications:10.5oz Whole Food:Spec-WF-10.5oz.xls"
                        else if result is equal to {"Whole Food Juices, 32.0oz"} then
                                  set exportSheets to every sheet whose name contains "32.0"
                                  set savePath to "Users:KRT:Documents:Sambazon:Production:Finished Product Specs:Product Specs:Copacker Specifications:32.0oz Whole Food:Spec-WF-32.0oz.xls"
                        else if result is equal to {"Antioxidant Elixir, 11.0oz"} then
                                  set exportSheets to every sheet whose name contains "Elixir"
                                  set savePath to "Users:KRT:Desktop:Test.xls"
      --set savePath to "Users:KRT:Documents:Sambazon:Production:Finished Product Specs:Product Specs:Copacker Specifications:Antioxidant Elixir:Spec-Elixir-11.0oz.xls"
                        end if
                        repeat with thisSheet in exportSheets
      copy worksheet exportSheets before sheet "Sheet1" of xbook
                                  tell thisSheet
                                            set sheetName to name
                                            set txt1 to value of cell "A6:I6"
                                            set txt2 to value of range "A8:I8"
                                  end tell
                                  tell xbook
                                            tell worksheet sheetName
                                                      set value of cell "A6:I6" to txt1
                                                      set value of range "A8:I8" to txt2
                                            end tell
                                  end tell
                        end repeat
              end tell
    end tell

  • How can I get around the character limit in the "print pages" option

    I have a rather large PDF file and I need to print certain pages (for example, pages 1, 324, 456, 759, 812, 946, 1206, 1562, 1792, etc.). However, when I click on print and try to type in the pages, there is a character limit, and it is much smaller than the number of characters I need to type. Is there a way around this? Thanks.

    OK I figured out the answer. Ctrl+J opens up the console (You have to activate javascript). The following script will extract the pages into a new document, and then you can simply print those pages. All you need to do is fill up the "pageArray" array with a list of your pages, separated by commas. It does not support ranges.
    // Extracts all pages listed into a new document
    var pageArray = [INSERT YOUR LIST OF PAGE NUMBERS HERE, SEPARATED BY COMMAS];
    if (pageArray.length > 0) {
    var d = app.newDoc();    // this will add a blank page - we need to remove that once we are done
    for (var n = 0; n < pageArray.length; n++) {
    d.insertPages( {
    nPage: d.numPages-1,
    cPath: this.path,
    nStart: pageArray[n]-1,
    nEnd: pageArray[n]-1,
        // remove the first page
        d.deletePages(0);

  • Can I use an IF Statement in a Region Source

    Hello, Im using Apex 3.x. I have a standard report page whose Region Source is a simple select statement..... SELECT xyz FROM...WHERE
    I need to add an IF statement to this Region Source, but when I do I get an error - Query cannot be parsed within the Builder.
    IF :P2_FILTER = 'A' THEN
    SELECT abc FROM...WHERE
    ELSIF :P2_FILTER = 'B' THEN
    SELECT abc FROM...WHERE
    END IF;
    The columns selected are the same in both scenarios. Is there any way to add an IF statement to the region source?
    Thank
    you

    I guess Scott is suggesting creating 2 regions (with different source query ) , then define the codition for each one. Ex. for region 1 >> condition >> plsql expression >> :P2_FILTER = 'A'
    for region 2 >> condition >> plsql expression >> :P2_FILTER = 'B'
    Hope this helps,
    Sam
    Edited by: Sam_06 on Aug 17, 2010 12:20 PM

  • Character Limit to Custom Calculation Script?

    Hi. I have a document that has a text form field. I want to run a custom calculation script that basically says if field "Group Number" = xxxxxxx, then field "Group Name" should = ABC Company.
    I have a list of almost 575 group numbers and names that I need to put in the script. And I've got the script working just fine but I am guessing there is a character limit to the script field???? It won't let me put my full list in there.
    Any suggestions on how to get around this??
    Thanks,
    Brandy

    I think I might have one error but I thought I had corrected it. Let me run this by you. My "if" lines are like this:
    if(a == '88096') event.value = 'Stacy's Carpet Steam Cleaning Company';
    But the code doesn't seem to like the ' in the Group's name. Is there a way to correct that without getting rid of the ' .... ?????

  • Application Item Not Working as Bind Variable in Region Source

    I've created an application variable - APP_AC_CODE - a value for which - PA1 - I set as part of the column link on page A that branches to page B.
    I use APP_AC_CODE as part of a region title on page B - &APP_AC_CODE. Parameters - which evaluates successfully to 'PA1 Parameters'.
    However when I try to use APP_AC_CODE on the same page as part of the SQL query that drives the report for that region it fails to retrieve any records.
    If I set the region source to:
    SELECT idi FROM v_parameters WHERE aircraft_code = :APP_AC_CODE ;
    then it fails but if I explicitly state the where clause:
    SELECT idi FROM v_parameters WHERE aircraft_code = 'PA1' ;
    then it works just fine and retrieves the records as expected.
    If I check the session state then the right value is assigned to APP_AC_CODE; if I check debug then it shows the right value - binding: ":APP_AC_CODE"="APP_AC_CODE" value="PA1". Also, it displays fine as a substitution string.
    I'm very confused. I'll be very grateful if someone can shed a little light. I expect I'm doing something stupid - new user and all that - but I haven't got a clue what that is.

    Thanks for the reply Scott, but unfortunately I can't upload the app for business reasons. I appreciate that might make it impossible for you to diagnose the problem.
    I don't know if I'm making progress with the problem but I've tried adding a hidden page item, setting that value from page A and using it from page B with the same results. Check the session state, the debug messages, or use it as a substitution variable and the right value is there.
    I then tried setting the value of the page item with the value of the application item and (according to session and debug) the right value ends up in the page item. Still didn't work though.
    I then created a new page (using the sql report wizard in case I was doing something wrong manually) and tried using the application item in the same way with the same problem.
    Given that no records are being returned I assume that the database server doesn't care for the SQL query it sees. Is there a way of seeing what this is? When I look at the debug messages, all I see is 'parse query' and 'binding' messages. Any way I can see what the database server eventually sees?
    Matt

Maybe you are looking for

  • Error when Copying a GPO

    Hi, When copying a GPO I get this error [Warning] The security principal [Local Admins] cannot be resolved. The task will continue; however, there might be unresolved security principals in the destination GPO. This has never occurred before so not s

  • EXPERT DAY REQUEST!!!!! Laserjet M602 postscript feature values (specifica​lly, "setpagede​vice")?

    Pasted previously on the Community Home/Printing and Digital Imaging/Printers - LaserJet forum but thought I'd take advantage of the "HP Expert Day" and so am copying the posting on the "printer and all-in-ones" board: I have just spent two hours try

  • Setting default language in Pages '09

    Is there a way of setting the default language in Pages '09? Each time I want to begin a new document that is not from my templates, I have to change the language to Australian English. With MS Word it was not a problem to change the default language

  • MIDP2.0,MMAPI::illeagal argument exception

    Hi, I am trying to play mpg file on my emmulator but getting the following exception: java.lang.illegalargument exception inputstream is empty the code is as follws: import java.io.*; //import javax.media.Player; import javax.microedition.io.*; impor

  • Solaris 10, ftp file truncation

    When I upload files/directories (binary) to my Solaris 10 system, occasionally the files get corrupted. Seems like some of the files are misssing several records at the beginning. I am using WS FTP Pro to upload the files from my PC to my Solaris 10