Process page returns ORA-06550: error

APEX 4.1

Oracle 11g

Analysis of schema: MDM_APEX

Data tables: MDM_DATA

Creating a page process to take several pieces of an item in the list and insert it into a table.

I use a function that works in the database (when it is called by SQL + and the toad) but get the following error message when you try to create the page APEX process:

1 error has occurred

ORA-06550: line 3, column 22: PL/SQL: ORA-00904: "UTIL". ' ' SPLIT ': invalid identifier ORA-06550: line 2, column 1: PL/SQL: statement ignored

I have granted running the privs to APEX_040100 and MDM_APEX on the packaging. This function works in another application, but not to recognize in this application.

Google search finds no solutions used for this question with regard to APEX. Suggestions on how to recognize the function of the APEX?


Thank you

Tim


< code >

Process page:

INSERT INTO MDM_DATA. REF_CMR (STORE_CD)

(SELECT * FROM TABLE (UTIL.) SPLIT (:P400_STORE_LIST,':')));

< code >

< code >

CREATE OR REPLACE PACKAGE MDM_DATA. UTIL

AS

SPLIT FUNCTION (P_LIST VARCHAR2, P_DEL VARCHAR2: = ',') SPLIT_TBL RETURN PIPELINE;

Etc...

End UTIL;

CREATE OR REPLACE PACKAGE BODY MDM_DATA. UTIL

AS

SPLIT FUNCTION (P_LIST VARCHAR2, P_DEL VARCHAR2: = ',') SPLIT_TBL RETURN PIPELINE

AS

L_IDX PLS_INTEGER;

L_LIST VARCHAR2 (32767): = P_LIST;

L_VALUE VARCHAR2 (32767).

BEGIN

LOOP

L_IDX: = INSTR (L_LIST, P_DEL);

IF L_IDX > 0

THEN

LINE OF CONDUCT (SUBSTR (L_LIST, 1, L_IDX - 1));

L_LIST: = SUBSTR (L_LIST, L_IDX + LENGTH (P_DEL));

ON THE OTHER

PIPE ROW (L_LIST);

EXIT;

END IF;

END LOOP;

RETURN;

EXCEPTION

WHILE OTHERS THEN

NULL;

END SPLIT;


ETC...

End util;

< code >

INSERT INTO MDM_DATA. REF_CMR (STORE_CD)

(SELECT * FROM TABLE (MDM_DATA. )) UTIL. SPLIT (:P400_STORE_LIST,':')));

Tags: Database

Similar Questions

  • ORA - 06550:Error

    Declare

    cursor cashCursor is

    Select ename, empno, hiredate from emp;

    type cash_tab is table of rowtype index of directory % cashCursor;

    l_cashTab cash_tab;

    number of l_counter: = 10;

    Start

    Open cashCursor;

    collect the fetch cashCursor in bulk in the l_cashTab limit l_counter;

    close cashCursor;

    end;

    Error is:

    ORA-06550: line 11, column 4 &:

    Pls-00597: Expression "L_CASHTAB" in the list INTO the wrong type

    ORA-06550: line 11, column 12:

    Pl/sql: Sql statement ignored.

    Please help me...

    Regarding what I checked, it looks like you could use BULK COLLECT of cursor % ROWTYPE that from Oracle 9.2.0.3 go.

    bulk collection documents

    A well documented limitation to COLLECT in BULK in 8i was that each column returned from an SQL statement or cursor must be its own index - by table or the collection. This means that many types had to be declared and maintains several index - by tables or collections, which could be very much focused on the code. There was available workaround solutions to overcome this limitation, but they often have less well.

    Oracle 9i two Release introduces support of COLLECTION in BULK for collections of documents. This means that we can declare from 9.2.0.1, a simple associative array (new name for the index - by tables in 9i) or the type of collection based on one of the following.

    • table % ROWTYPE;
    • view % ROWTYPE;
    • type of record set by the user; and
    • cursor % ROWTYPE (9.2.0.3 from only).

    The same check the link below.

    http://www.Oracle-Developer.NET/display.php?ID=201

  • Proc of PL/SQL call on submit process page returns "PLS-00306: fake...» »

    I have a very simple procedure call. The procedure takes 3 inputs: 2 numbers, and a Boolean value. Every time I try to run the page that calls the proc, I get
    "ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in the call to 'MISSED_DAY_CLASS' ORA-06550: line 1, column 7: PL/SQL: statement ignored."
    I ran the Debug page and values, it's the award appear to be 2 numbers and 1 boolean (TRUE). I executed the same values in the call to the proc outdoors using sql dev and proc call works fine.

    The Boolean value is set via a checkbox with this LOV element:
    STATIC2:; TRUE

    Any ideas are appreciated.
    Thank you
    Reid

    Hello

    I think that the value of the checkbox is not Boolean. It is text (VARCHAR).

    If you change the procedure as well as boolean is varchar2, it works then?
    Or in the process of Apex call differently for example

    IF :Px_YOUR_CHECKBOX = 'FALSE' THEN
     yourprocedure(:Px_NUMBER_ITEM1,:Px_NUMBER_ITEM2, FALSE);
    ELSIF :Px_YOUR_CHECKBOX = 'TRUE' THEN
     yourprocedure(:Px_NUMBER_ITEM1,:Px_NUMBER_ITEM2, TRUE);
    END IF;
    

    I hope you get photo off what I mean

    BR, Jari

  • Display error message when a condition in the process page returns false

    Hello

    I doubt by displaying the error message in a page. In my treatment of the page, I have a process that is assosiated with

    a press the button. In the process, I have an 'if' condition and insert in a table when the "If" condition returns true. If

    It returns false that I need to display an error message like "cannot insert a value. I tried to give him in the error of process

    message, but it is not displaying when the if condition fails. Help, please


    Thank you

    TJ

    Edited by: tj2010 Oct 6, 2009 21:25

    Hello

    Have you tried

    If condition = true
    then
    insert into the table;
    on the other
    apex_application.g_print_success_message: = "your Message here";
    end if;

    Make sure that the branch on the page that is triggered after your process has the "success of process message includes" checked.

    Concerning

    Paul

  • ORA-06550 for a process in the Page that discusses

    Hello
    I'm trying to create a process to update some data, but I know very well the syntax of the APEX for the procedures.
    I write the code in a process of 'Treatment of the Page' section.
    The code is:

    DECLARE w_TPS NUMBER (9.7);
    DECLARE w_TVQ NUMBER (9.7);
    DECLARE w_val_tot_lignes NUMBER (15.2);
    Start
    -Lire % GST
    SELECT NUM_PARAMETRE FROM w_TPS
    OF TBL_PARAMETRES
    WHERE COD_PARAMETRE = 'GST ';
    -Lire % QST
    SELECT NUM_PARAMETRE FROM w_TVQ
    OF TBL_PARAMETRES
    WHERE COD_PARAMETRE = 'QST;
    -Calculate total invoice
    SELECT SUM(NUM_HEURES * VAL_TAUX) FROM w_val_tot_lignes
    OF TBL_FACTURES_DETAIL
    WHERE ID_FACTURE_MASTER =: p225_id_facture_master;

    UPDATE tbl_factures_master
    SET VAL_FACTURE_NET = w_val_tot_lignes,
    POU_TPS = w_TPS,
    VAL_TPS = w_val_tot_lignes * w_TPS;
    POU_TVQ = w_TVQ,
    VAL_TVQ = w_val_tot_lignes * w_TPS;
    VAL_FACTURE_TOTAL = (w_val_tot_lignes * w_TPS) + (w_val_tot_lignes * w_TVQ) + w_val_tot_lignes
    WHERE id_facture_master =: p225_id_facture_master;

    end;

    The error:
    ORA-06550: line 3, column 1: PLS-00103: encountered the symbol "DECLARE" when expecting one of the following values: start type of the subtype of the function pragma < an ID > < a double quote delimited identifier > removal of current cursor exists before the symbol 'start' is substituted for 'SAID' continue. ORA-06550: line 4, column 1: PLS-00103: encountered the symbol "DECLARE" when expecting one of the following values: function < an ID > pragma procedure subtype type < to start a double-quotes

    I ran across this myself but I forgot the real reason.

    idea 1: hidden character
    solution: retype everything by hand.
    Make sure you do a 'ctrl-a' to 'select all' before clicking on 'delete' so that it picks up this hidden character.

    idea 2: bad SQL
    If I remember correctly, there was a typing error in my table name or column

    idea 2 b: bad SQL
    I don't see the name of schema for tables in one of your SELECT or UPDATE instructions.
    Try to add them.

    Run each of the SELECT/UPDATE with SQL Developer instructions to see if you notice a bug in the SQL code.

  • ORA-17628: error Oracle 19505 returned by remote Oracle - Dup Active Server

    Hi all

    I'm doing a duplicate RMAN of a 11.2.0.4 database to another host on a different IP address.

    Goal

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    

    Auxiliary (nomount)

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    
    

    I've added an entry static listener to the file on the server to THE listener and start the instance in nomount.

    (SID_LIST =
       (SID_DESC =
          (GLOBAL_DBNAME = IST_11G)
          (ORACLE_HOME = /devdb3/u01b/app/oracle/product/11.2.0.4)
          (SID_NAME = IST_11G)
        )
    

    TNSNAMES on the server to THE:

    points to the TARGET server:

    IST_11G_192 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.48)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = IST_11G)(UR=A)))
    

    the server pointing to THE

    IST_11G = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.21.64.72)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = IST_11G)(UR=A)))
    

    TNSNAMES on the TARGET server:

    IST_11G_NEW = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.21.64.72)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = IST_11G)(UR=A)))
    

    instance pFile to THE:

    Using parameters in Server pfile /devdb3/u01b/app/oracle/product/11.2.0.4/dbs/initIST_11G.ora-side

    Parameters of the system with default values:

    db_name = "IST_11G".

    I have sftp file password above and named correctly.

    Check the connections

    --from target
    $ sqlplus sys/xxx@IST_11G_NEW as sysdba
    
    SQL*Plus: Release 11.2.0.4.0 Production on Tue Jun 30 08:32:10 2015
    
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    

    Since in THE

    $ sqlplus sys/xxx@IST_11G_192 as sysdba

    SQL * more: Release 11.2.0.4.0 Production on Mar 30 08:32:32 June 2015

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL >

    So I checked that I have two means of connection, my at THE start and I can connect.

    Here's my RMAN command (Note: the TARGET servers and have the same host name, don't ask...) "This is why we use the IP address in the TNSNAMES):

    connection:

    rman target sys/xxx@IST_11G_192 auxiliary sys/xxx@IST_11G | tee /home/oracle/IST_11G_duplicate.log
    

    run
    {
      duplicate target database to IST_11G from active database
      NOFILENAMECHECK
      spfile
      set DB_FILE_NAME_CONVERT = '/devdb3/u01/oradata/IST_11G','/devdb3/u02d/oradata/IST_11G','/devdb3/u02/oradata/IST_11G','/devdb3/u02d/oradata/IST_11G'
      set LOG_FILE_NAME_CONVERT = '/devdb3/u01/oradata/IST_11G/','/devdb3/u03r/IST_11G_DEVDB3/'
      set control_files = '/devdb3/u03r/IST_11G_DEVDB3/controlfile/IST_11G_ctl1.ctl', '/devdb3/u04r/IST_11G_DEVDB3/controlfile/IST_11G_ctl2.ctl'
      set audit_file_dest = '/devdb3/u01b/app/oracle/product/11.2.0.4/rdbms/audit/'
      set diagnostic_dest = '/devdb3/u01b/app/oracle/'
      set log_archive_dest =  '/devdb3/u05f/fast_recovery/IST_11G/archivelogs/'
      set MEMORY_MAX_TARGET='1G'
      set MEMORY_TARGET='1G';
    }
    

    $ rman target sys/xxx@IST_11G_192 auxiliary sys/xxx@IST_11G | tee /home/oracle/IST_11G_duplicate.log
    
    Recovery Manager: Release 11.2.0.4.0 - Production on Tue Jun 30 08:37:02 2015
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: IST_11G (DBID=525645852)
    connected to auxiliary database: IST_11G (not mounted)
    
    RMAN> run
    2> {
    3>   duplicate target database to IST_11G from active database
      NOFILENAMECHECK
      spfile
    4> 5> 6>   set DB_FILE_NAME_CONVERT = '/devdb3/u01/oradata/IST_11G','/devdb3/u02d/oradata/IST_11G','/devdb3/u02/oradata/IST_11G','/devdb3/u02d/oradata/IST_11G'
      set LOG_FILE_NAME_CONVERT = '/devdb3/u01/oradata/IST_11G/','/devdb3/u03r/IST_11G_DEVDB3/'
      set control_files = '/devdb3/u03r/IST_11G_DEVDB3/controlfile/IST_11G_ctl1.ctl', '/devdb3/u04r/IST_11G_DEVDB3/controlfile/IST_11G_ctl2.ctl'
    7>   set audit_file_dest = '/devdb3/u01b/app/oracle/product/11.2.0.4/rdbms/audit/'
    8>   set diagnostic_dest = '/devdb3/u01b/app/oracle/'
      set log_archive_dest =  '/devdb3/u05f/fast_recovery/IST_11G/archivelogs/'
    9>   set MEMORY_MAX_TARGET='1G'
      set MEMORY_TARGET='1G';
    10> }
    11>
    12>
    
    Starting Duplicate Db at Jun 30 2015 08:37:10
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=216 device type=DISK
    
    contents of Memory Script:
    {
       backup as copy reuse
       targetfile  '/devdb3/oracle/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora' auxiliary format
    '/devdb3/u01b/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora'   ;
       sql clone "alter system set spfile= ''/devdb3/u01b/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora''";
    }
    executing Memory Script
    
    Starting backup at Jun 30 2015 08:37:11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=365 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/30/2015 08:37:12
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/30/2015 08:37:12
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    
    RMAN>
    
    
    
    
    
    
    
    
    
    

    I can't understand why I'm getting ORA-17628: error Oracle 19505 returned by remote Oracle server.

    So, I try one of the commands connecting memory se scripts to check if was not a problem with my execution block.

    backup copy reuse targetfile ' / devdb3/oracle/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora' auxiliary format ' / devdb3/u01b/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora';

    $ rman target sys/sys_IST_11G@IST_11G_192 auxiliary sys/sys_IST_11G@IST_11G | tee /home/oracle/IST_11G_duplicate.log
    
    Recovery Manager: Release 11.2.0.4.0 - Production on Tue Jun 30 08:41:00 2015
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: IST_11G (DBID=525645852)
    connected to auxiliary database: IST_11G (not mounted)
    
    RMAN> backup as copy reuse targetfile  '/devdb3/oracle/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora' auxiliary format '/devdb3/u01b/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora';
    
    Starting backup at Jun 30 2015 08:41:15
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=365 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/30/2015 08:41:17
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    
    RMAN>
    
    
    
    
    
    
    
    

    Same mistake.  Nothing is written for the journal of alerts.  IM starting to pull the hair is left on my head out and people start screaming for this database.  I could go back to datapump but I want to understand this.  Any help would be very much appreciated.

    Thank you.

    Yes, although this:

    connected to target database: IST_11G (DBID = 525645852)

    connected to the auxiliary database: IST_11G (unassembled)

    can say you that RMAN you connected the two separate databases, the process, instances should do research each other using tnsnames file entries.  Thus, incorrect tnsnames entries can have one instance pointing to itself.

    Hemant K Collette

  • Error: * ORA-06550:

    Hello

    I create a Sql report and using this CODE


    with bills like)
    SELECT p.PARTY_NAME, p.MOB1_NO, sum (nvl(b.TOTAL_AMOUNT,0)) bill_amount
    PARTY_DETAILS p, BILL_DETAILS b
    where p.PARTY_NAME = b.PARTY_NAME (+)
    P.PARTY_NAME group, p.MOB1_NO
    ),
    payments)
    Select p.PARTY_NAME, sum (nvl (pd. TOTAL_AMOUNT, 0)) paid_amount
    PARTY_DETAILS p, pd of the PARTY_PAYMENT_DETAILS
    where p.PARTY_NAME = DB. PARTY_NAME (+)
    P.PARTY_NAME group
    )
    Select b.party_name, b.mob1_no, BILL_AMOUNT, PAID_AMOUNT, balance_amount BILL_AMOUNT-PAID_AMOUNT
    invoices, payments p b
    where b.PARTY_NAME = p.PARTY_NAME


    This code, the Code is Correct, I ran this code into the SQL command.

    But when I apply it to a region of the Page SQL Report then it shows me error

    1 error has occurred

    * ORA-06550: line 18, column 2: PL/SQL: ORA-00933: command not properly ended SQL ORA-06550: line 3, column 1: PL/SQL: SQL statement ignored ORA-06550: line 19, column 21: PLS-00103: encountered the symbol "end-of-file" when awaits one of the following numbers: (begin case declare exit end exception for goto rise back loop mod null pragma select update while with)


    How can I remove this error.
  • why I cant player to access itv now when I could always? He returns with "an error occurred during the processing of your request."

    why I cant player to access itv now when I could always? He returns with "an error occurred during the processing of your request."

    Hi James,

    Let us know a few details about the issue.

    1. which operating system you have installed on the computer?

    2. what web browser do you use to open itv player?

    3. are you able to play other videos online on other sites?

    If you use Internet Explorer, then you follow these methods.

    Method 1:

    You can run the fix for video problems in Internet Explorer.

    Playing video files crashes or blocking Internet Explorer - Windows

    http://support.Microsoft.com/mats/video_freezes_or_crashes/

    Method 2:

    You can also follow the steps in the following article and check.

    The video problems when you use Internet Explorer

    http://support.Microsoft.com/kb/2532294

    Note: The Reset Internet Explorer Settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings and Add-ons. We recommend that you note these sites before using Internet Explorer settings reset feature and re - activate the Add-ons.

    Feel free to get back to us for other queries.

  • ADR 3.0.1 install ORDS_PUBLIC_USER of error: ORA-06550, PLS-00103

    Try the Advanced installation of new ADR in a clean PDB 12 c (12.1.0.1) installation.

    If someone had the same problem and a work around?

    Error at startup to the line: 48 in command.

    Start

    run immediately "create user ORDS_PUBLIC_USER identified by ' ^ PUB_PWD ' account unlock default tablespace ^ temporary tablespace PUB_DATATBS ^ PUB_TEMPTBS';"

    end;

    Error report-

    ORA-06550: Line 2, column 23:

    PLS-00103: Fand das symbol "create user ORDS_PUBLIC_USER identified by 'mySecretPwd' als eines der following works wurde:

    (- + new case mod not null < an ID >)

    < between double quote delimited identifiers of > < a variable binding >

    continue the current avg County are min max sql stddev prior

    variance of the sum run forall fusion timestamp interval

    Date < a literal string with the specified set of characters >

    < a > < a SQL string between single quotes > hose

    < ein alternativ in Anfuhrungszeichen geset

    force_print

    It seems to be related to the change here:

    https://community.Oracle.com/thread/3731913

    Finally the installation of ADR is running. However still not showing apex, but which appear to be a different problem.

    Here is my solution to overcome the problem of creation of ORDS_PUBLIC_USER.

    The problem was that they changed it to use execute_immediate. However, lexical surrogates have ' included.

    Gives problems when adding to the string of immediate execution. And also problems for the password in quotation marks.

    In the ords.war file to find the ords_create_rest_users.sql and replace the relevant parts marked with blue lines.

    ...

    set PUB_PWD = ^ 1

    set PUB_DATATBS = ' ^ 2'

    set PUB_TEMPTBS = ' ^ 3'

    ALTER session set current_schema = SYS;

    -Remove user REST if exists

    ...

    -Create user ORDS_PUBLIC_USER and unlock the account

    create user ORDS_PUBLIC_USER identified by ' ^ PUB_PWD ' account unlock default tablespace ^ temporary tablespace PUB_DATATBS ^ PUB_TEMPTBS;

    ...

  • ORA-06550-PLS-00302 error on execution mapping

    I have a mapping in OWB 11.2.0.3, I can bend and validate.
    But if I like him to run it it fails with the following error:
    ORA-06550: line 1, column 1487: PLS-00302: component 'MAPPING_NAME' must be declared ORA-06550: line 1, column 1470: PL/SQL: statement ignored

    I've already found a post that said: grant run owner_name. "' name map ' to user_name;
    In my case it does solve the problem.

    Someone at - it an idea of what the problem might be?


    Thanks for any help,

    Benjamin

    We have the same problem on OWB 11.2.0.3 and resolved to rename a schema name, because it was the same thing to another database object. If this is your case, you can change the name of the database schema and the location on OWB.
    We hope this help you.

    To view the possible duplicate objects (drawing object):

    SELECT *.
    FROM DBA_OBJECTS
    WHERE OBJECT_NAME = '';

    On the Oracle document is much better explained:

    [http://docs.oracle.com/cd/E11882_01/relnotes.112/e24470/toc.htm]

    Oracle® Warehouse Builder Release Notes
    * 11g Release 2 (11.2) part number E24470-05 *.

    [...]

    7.14 existence of an object in the schema with the same name as the schema target in the database
    12776878: If an object exists in the schema with the same name as the schema target in the database, an error is displayed.

    For example:

    Named A schema has an object called q. schema named Q exists and has an object called Z.
    When you call from SchemaQ.ObjectZ to a scheme A, it looks in schema A Q.Z. Z is not found and displays the following error:

    ORA-06550:... : PLS-00302: component 'XYZ' must be declared
    Workaround: rename one of the objects Q to R or one letter other than Q.

    [...]

  • Process page not throwing no data found error when you remove the item in a table

    Hi guys,.

    I'm trying to run a process page just before the process of MRU in tabular form and it is throwing an error no data found . Here is my code:
    BEGIN
         
         for i in 1..apex_application.g_f02.count LOOP     
              
              IF apex_application.g_f01(i) is not null THEN
                   
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
                   
              END IF;
         END LOOP;
    END;
    F01 here is the checkbox column and the if statement is the cause of the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.

    When I click on a checkbox, and hit the Remove button what fires off times this process and then the MRU, I get the error not found data .

    Would appreciate it if someone could shed some light on this. Thank you very much.

    Published by: taepodong on July 1, 2012 07:54

    Hello

    >
    I'm trying to run a process page just before the process of MRU in tabular form and he throws no data were found error. Here is my code:

    BEGIN
    
         for i in 1..apex_application.g_f02.count LOOP     
    
              IF apex_application.g_f01(i) is not null THEN
    
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
    
              END IF;
         END LOOP;
    END;
    

    Here f01 is the column of the box and the if statement is causing the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.

    When I click on a checkbox and click on Remove button that triggers both this process and then MRU, I get the no found error of data.
    >

    You iterate over the f02 and seeking f01 not null. It's the misuse of the checkbox element. Please see these links. in particular the examples of process OnSubmit.
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_item.htm#CHDDCHAF
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_app.htm#AEAPI215

    Kind regards

    PS: That's what you need to understand
    >
    Note that the boxes displayed by using APEX_ITEM. CHECK box will only contain values in the APEX_APPLICATION tables for those lines that are checked. Unlike other elements (TEXT, TEXTAREA, and DATE_POPUP) that can contain an entry in the corresponding table of APEX_APPLICATION for all submitted ranks, a checkbox will be an entry in the APEX_APPLICATION table if this option is selected.
    >

    Published by: Dominique July 2, 2012 09:44

  • GoldenGate ORA-06550 Setup error

    Hello!!

    When executing scripts of goldengate, I got the following error

    SQL > @ddl_pin GGS_OWNER
    START dbms_shared_pool.keep('GGS_OWNER.) DDLReplication', 'P'); END;

    *
    ERROR on line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier ' INVALIDHTOMEH. KEEP ' should be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored


    BEGIN dbms_shared_pool.keep ('GGS_OWNER.trace_put_line', 'P'); END;

    *
    ERROR on line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier ' INVALIDHTOMEH. KEEP ' should be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored


    START dbms_shared_pool.keep('SYS.) GGS_DDL_TRIGGER_BEFORE', 'R'); END;

    *
    ERROR on line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier ' INVALIDHTOMEH. KEEP ' should be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    can someone tell me how to fix?

    You must run dbmspool.sql as SYSDBA, then you will be able to run it.

    Don't forget to mark your questions as answered and help keep the forum clean.

    Greetings,
    NACEUR

    Published by: n on 2012-may-11 14:52

  • As I corrected the error?  ORA-06550-PLS-00357

    * {color: #0000ff} good morning *.

    * I'm trying to generate a file extension. txt,
    extracting information from a table named test, and I generated the
    Suite error ORA-06550: - and - PLS-00357: {color} *.


    CREATE TABLE ENSAYO
    (
    NUMBER OF CODE,
    DATE DATE default sysdate,
    NUMBER VARCHAR2 (40)
    )
    ;



    Insert of ensayo values(1,'12-12-2009','rey');
    Insert of ensayo values(2,'10-02-2009','luna');
    Insert of ensayo values(3,'16-03-2009','paola');
    Insert of ensayo values(4,'16-03-2009','Natalia');



    Set serverout
    DECLARE
    utl_file.file_type v1.
    v2 varchar2 (100);
    Start
    v1: = utl_file.fopen ('PUBLIC_ACCESS', 'prueb': to_char (sysdate, 'yyyymmdd') |'. txt', 'w');

    loop

    UTL_FILE.put_line (v1, Ensayo.Codigo);

    end loop;
    UTL_FILE.fclose (v1);
    exception
    while others then
    dbms_output.put_line (SQLERRM);
    end;
    /
    * {color: #ff0000} *.
    UTL_FILE.put_line (v1, Ensayo.Codigo);
    ***
    * {color} {color: #ff0000} ERROR en l & Yacute; NEA 7: *.
    ORA-06550: l & Yacute; NEA 7, column 32: *.
    PLS-00357: the referencia has the tabla, vista o sequence "ENSAYO. CÓDIGO ' no EST & szlig;. *
    permitida en este contexto
    ORA-06550: l & Yacute; NEA 7, column 4:
    * PL/SQL: statement ignored {color} *.





    * {color: #0000ff} that I correct the error? *

    * Thank you for your cooperation... *.
    * good day... *.
    * {color} *.


    * {color: #0000ff} *.
    * {color} *.


    * {color: #0000ff} Reynel Martinez Salazar. {color} *.

    You must use FOR cursor LOOP:

    DECLARE
    v1 utl_file.file_type;
    v2 varchar2 (100);
    begin
    v1:= utl_file.fopen('PUBLIC_ACCESS','prueb'||to_char(sysdate,'yyyymmdd')||'.txt','w');
    for rec in (select codigo from ensayo) loop
    utl_file.put_line(v1,rec.codigo);
    end loop;
    utl_file.fclose(v1);
    exception
    when others then
    dbms_output.put_line(sqlerrm);
    end;
    /
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    SY.

  • Execution of procedure error: ORA-06550 and PLS-00103

    Hi, I created the stored procedure as,

    CREATE OR REPLACE PACKAGE BODY APPS.TMP_IMPORT_ITEMS_PKG AS
    
    
      PROCEDURE LOAD_INTERFACE_TABLE(organization_code IN VARCHAR2, errbuf OUT VARCHAR2, retcode OUT NUMBER) IS
    
    
      org_code varchar2(3);
    
    
      BEGIN
    
    
        org_code:= organization_code;
    
    
        DBMS_OUTPUT.PUT_LINE('Organization Code is...' || org_code);
    
    
      END LOAD_TABLE;
    
    
    END TMP_IMPORT_ITEMS_PKG;
    And here is the code I am trying to run:
    DECLARE
    
    
      V_ERRBUF VARCHAR2(1000);
    
    
      V_RETCODE NUMBER;
    
    
    BEGIN
    
    
      EXEC TMP_IMPORT_ITEMS_PKG.LOAD_INTERFACE_TABLE('x1', V_ERRBUF, V_RETCODE);
    
    
    END;
    When I run the above code, I get the following error:


    ORA-06550: line 5, column 10:
    PLS-00103: encountered the symbol "TMP_IMPORT_ITEMS_PKG" during the expected in the following way:


    := . ( @ % ;
    The symbol ': = ' was replaced by 'TMP_IMPORT_ITEMS_PKG' continue.

    Can any body tell me what is the problem with the above code
    Thanks in advance,
    Kumar K

    Published by: user2054206 on December 17, 2008 21:09

    Published by: user2054206 on December 17, 2008 21:27

    Hello

    In PL/SQL, you cannot call the procedure like exec... in sql, you can call exec but in PL/SQL, you can call as follows.

    DECLARE
    V_ERRBUF VARCHAR2 (1000);
    NUMBER OF V_RETCODE;
    BEGIN
    TMP_IMPORT_ITEMS_PKG. LOAD_INTERFACE_TABLE ('x 1', V_ERRBUF, V_RETCODE);
    END;

    I hope this works.

  • IMP product ora-00900 error SQLPLUS and Page of SQL commands

    Hello
    I can't import of Cognos samples .dmp files via IMP.
    ORA-00900 error is the result.
    SQLPLUS 'help imp;' shows sp2-0172: no help on this command.
    Customer SQLPlus is 10.2.0.1.0

    I can't imp work?

    Thank you
    Georg

    Edited by: user1919026 the 04.02.2011 04:36
    What command you trying to run?

    Yes, imp is a command line utility, it was not run in sqlplus... If you are under windows, a command box (start/run/cmd) is the starting point, not a sqlplus session...

Maybe you are looking for

  • folder on the desktop icon. How can I change this?

    Ugly folder icon would change to something more creative. Is this possible?

  • Trial version of the app

    Hi guys,. I noticed that some people have a "Trial Version" of their application. So when you go to the app in the App World on the PlayBook, it gives you the ability to download a trial version of an application. Now, how should we do this? I'm a bi

  • 2651XM IPS Signature Update?

    Hello I have a 12.4 (25) running to 2651XM 256 MB / 32 MB and I want to update the IPS signature file.  I see that the last update for 256MB.sdf made since August 2008.  The recent IPS that I found is IPS-GIS-S518-req - E4.pkg of http://tools.cisco.c

  • Computer off while watching a movie online.

    My pc turns off when you watch movies online; usually after 10 minutes of play. Someone at - it a remedy for the problem? Thank you

  • restore the old optimizer statistics with flashback technology

    We use the Oracle 10 g on Linux.I want to know we can restore old optimizer staistics with Oracle Flashback technology (using the restore point) in addition to the dbms_stats package.