-17325 wrong number of array indices



Tags: NI Software

Similar Questions

  • ORA-06550, PLS-00306: wrong number or types of arguments in the call to ' |'

    Hi all

    Please help me about this error, if I comment the threshold (in the color of the thickness)

    ERROR on line 19:

    ORA-06550: line 19, column 25:

    PLS-00306: wrong number or types of arguments in the call to ' |'

    ORA-06550: line 19, column 3:

    PL/SQL: Statement ignored

    DECLARE

        TYPE nametable IS TABLE OF CHAR(10) INDEX BY BINARY_INTEGER;

        vname NAMETABLE

        CURSOR cf

        IS

          SELECT ename

            FROM emp;

        i     NUMBER;

    START

        OPEN cf;

        i := 1;

        LOOP

            FETCH cf INTO Vname (i);

            EXIT WHEN cf%NOTFOUND;

            i := i + 1;

        END LOOP;

        CLOSE cf;

    dbms_output. Put_line ('Name is ' || VNAME );

        FOR n IN 1.. VNAME . County LOOP

    dbms_output. Put_line ('Name is ' || VNAME (n));

        END LOOP;

    END ;


    Thank you

    VNAME is an associative array. You can not use in DBMS_OUTPUT. Put_line as such. You need to loop through what you did in the code after the DBMS_OUTPUT and print each element of the array individually.

  • PLS-00306: wrong number or types of arguments in the call to PUT_LINE

    Hi all

    I m new to the pl sql, when I run the below block I get errors.

    kindly help me on this.

    DECLARE

    Siva ARRAY TYPE IS VARCHAR2 (100);

    s siva;

    Cur_i IS SELECT name FROM employee of CURSOR;

    BEGIN

    OPEN cur_i.

    LOOP

    SEEK cur_i s INTO;

    EXIT WHEN cur_i % NOTFOUND;

    DBMS_OUTPUT. Put_line (s);

    END LOOP;

    CLOSE Cur_i;

    END;


    I m getting the error below:

    PLS-00597: expression' in the INTO list has the wrong type

    PLS-00306: wrong number or types of arguments in the call to "PUT_LINE '.



    Hello

    I think that you are learning/exercises PL/SQL. See below the approach.

    declare

    siva type is table of the varchar2 (100);

    s siva;

    cursor cur_i is
    Select first_name from employees;

    Start

    Open cur_i;

    loop
    collect fetch cur_i in bulk
    s;
    When the output cur_i % notfound;
    end loop;

    close cur_i;

    -Printing values in the collection

    because me s.first... loop of s.Last
    dbms_output.put_line (s (i));
    end loop;

    end;

    Thank you

    Suri

    Post edited by: Suri

    Simple loop removed and exit when collecting conditions because we fetch all the records of a sudden in the collection using the bulk.

  • a wrong number or types of arguments in the call to 'Procedure_Name '.

    I call a procedure with the type of table but its me gives error
    "ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in the call to 'VSKU_DETAIL_GRID '.
    How can I fix?



    String stmt = "start xxData_supplwrkbch_functions. VSKU_DETAIL_GRID(?,?,?,?,?,?,?,?); end; « ;
    DBTransaction dbtxn = (DBTransaction) getTransaction ();
    CallableStatement cs = dbtxn.createCallableStatement (stmt.toString (), 1);
    int row_ptr = 0;
    int col_ptr = 0;
    error_code int;
    String msg_erreur;
    String [] [] outb_vsku_array = new String [300] [50];

    Connection Conn = null;
    ArrayDescriptor descriptor_width = null;
    ArrayDescriptor descriptor_qty = null;

    oracle.sql.ARRAY p_width_Arr = null;
    oracle.sql.ARRAY p_qty_Arr = null;
    ARRAY newWidthArray = null;
    ARRAY newQtyArray = null;
    try {}
    Conn = getDBTransaction () .createCallableStatement ("select 1 from dual", 1) .getConnection ();
    }
    catch (SQLException e)
    {
    System.out.println ("error getting connection object");
    }

    Try
    {
    System.out.println ("creating descriptor");
    descriptor_width = ArrayDescriptor.createDescriptor ("XXMSN_VSKU_WIDTH_TYPE", conn);
    }
    catch (System.Exception e)
    {
    System.out.println ("Descriptor ERROR-" + e.getMessage ());
    }

    Try
    {
    System.out.println ("creating descriptor");
    descriptor_qty = ArrayDescriptor.createDescriptor ("XXMSN_VSKU_QTY_TYPE", conn);
    }
    catch (System.Exception e)
    {
    System.out.println ("Descriptor ERROR-" + e.getMessage ());
    }

    Try
    {
    p_width_Arr = new oracle.sql.ARRAY (descriptor_width, conn, p_width_ArrData);
    newWidthArray = new ARRAY (descriptor_width, conn, p_width_Arr);
    }
    catch (System.Exception e)
    {
    System.out.println ("Array training ERROR-" + e.getMessage ());
    }

    Try
    {
    p_qty_Arr = new oracle.sql.ARRAY (descriptor_qty, conn, p_qty_ArrData);
    newQtyArray = new ARRAY (descriptor_qty, conn, p_qty_Arr);
    }
    catch (System.Exception e)
    {
    System.out.println ("Array training ERROR-" + e.getMessage ());
    }

    cs.setString(1,p_ssku_id);
    cs.setString(2,p_dim_2);
    cs.setArray(3,p_width_Arr);
    cs.setArray(4,p_qty_Arr);
    cs.setInt(5,is_blanket);
    cs.registerOutParameter(6,OracleTypes.CURSOR);
    cs.registerOutParameter(7,OracleTypes.NUMERIC);
    cs.registerOutParameter(8,OracleTypes.VARCHAR);
    CS. Execute(); Error is here

    Published by: Rahul Sharma 902 February 12, 2013 05:52

    I don't think and the error you get points in that direction too.
    From my understanding, the OracleTypes.CURSOR is only used for ref Cursor.

    Timo

  • The # is not my # mysecurity code to us. You have the wrong number on file and I need to access my account. Can you please give a call me to the

    The # is not my # send my security code. You have the wrong number on file and I need to access my account. How do I allow you to select the correct number or can I change my profile somehow and change the phone number so that you can issue a new security code, or determine what is my existing code. I don't seem to have a number 7 digits on file anywhere.

    Thank you

    George Sedlack

    Please contact support for Microsoft Outlook, Mozilla has no relationship with Microsoft Outlook.

  • Utility disk first aid indicates that it is a wrong number of hard file links

    After various software update yesterday the Mac mini has had several problems. I ran disk utility first aid, and he says 'wrong number of hard file links.

    Which allows to fix this?

    The drive has been successful to repair by disk utility?

    You must boot from recovery to repair the startup disk

    OS X: on OS X Recovery - Apple Support

    What problems did you have?

  • I can, t our user access in Control Panel; is a message "wrong number of arguments or invalid property assignment.

    I can, t our user access in Control Panel; is a message "wrong number of arguments or invalid property assignment.

    Hello

    I suggest you follow the troubleshooting steps form the article and check if it helps.

    Cannot open the item user accounts in Control Panel on a Windows XP-based computer

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

    Hope this helps

  • BlackBerry 9000 "BOLD" My Smartphones continues to dial the wrong number

    It's showing the wrong numbers when I'm looking for no - resource in contacts. It shows the wrong number, but under the name I'm looking for. 3 - 4 times I called the wrong person because my "BOLD" was and wrote a different name number, so that I'm looking. I don't know how to solve this problem.

    When I type the name of the contact that I'm looking for my 9000 "BOLD" displays a list of contacts as usual, but does not have the phone number of the contact. I select another name on the list then scroll to the name that I wanted to get the phone displays the correct phone number. I have used this phone for some time and had always worked very well. This problem started yesterday. I will not sync the phone (have never, probably never will be). I have not modified or added to any software. The only thing I've done recently is added more contacts.

    I also noticed that it is slower than usual when you search for names and it takes a long time so he can recognize that I typed more characters in the name of the contact before you can update the list of results.

    Perform a restart of the device: with the BlackBerry device powered on, remove the battery a few seconds and then reinsert the battery to restart.

    See if the problems continue. If they, I can't explain it, it looks like you may need to change your contacts and correct errors.

  • ApexExport 06550 PLS-00306: wrong number or types of arguments

    My work of ApexExort was running great until about a month and I can't pinpoint the problem.  If I run it in production, I get the following error.  However if I run it on my localhost even exact script works very well.

    Exception in thread "main" java.sql.SQLException: ORA-06550: line 2, column 12:

    PLS-00306: wrong number or types of arguments in the call to 'EXPORT_APPLICATION_TO_CLOB '.

    ORA-06550: line 2, column 5:

    Set ORACLE_HOME=C:\Oracle\product\11.2.0\dbhome_1

    set CLASSPATH = % CLASSPATH statement; \;%O RACLE_HOME%\jdbc\lib\ojdbc5.jar;%apexExportJavaDir%

    set PATH = % PATH %; \;%O RACLE_HOME%\Bin

    JAVAHOME value = C:\Program Files\Java\jdk1.8.0_45

    Set startRunLocation = \\mgasan2\hdrive\ATS_Working\Scott_Working\PROD_SCRIPTS\APEX_APP_BKUP

    CD C:\apex_4.2\utilities

    All applications to export REM

    Java oracle.apex.APEXExport - db %oracleHost%:%oraclePort%/%OracleServiceName%-utilisateur % oracleUser %-% oracleSystemPass %-forum password




    < gphmh >

    Thanks for your suggestion of Kiran, but I understood what my problem was.  The APEX version in our database is older: 4.1.1.00.23 and I have been using a version 4.2 utilities apex when I should have used the C:\apex_4.1.1_en\apex\utilities

    CD C:\apex_4.2\utilities

    C:\apex_4.1.1_en\apex\utilities


    For the record, here's what worked for me...


    Set apexExportJavaDir=C:\apex_4.1.1_en\apex\utilities

    Set apexHtmlFileName = apex_info.html

    BackupLocation = c:\PROD_SCRIPTS\APEX_APP_BKUP\OUTPUT\TEST set

    Set ORACLE_HOME=C:\Oracle\product\11.2.0\dbhome_1

    set CLASSPATH = % CLASSPATH statement; \;%O RACLE_HOME%\jdbc\lib\ojdbc5.jar;%apexExportJavaDir%

    set PATH = % PATH %; \; C:\Program Files (x 86) \Java\jre7\bin

    Set startRunLocation = c:\PROD_SCRIPTS\APEX_APP_BKUP

    FIXED % apexExportJavaDir %

    Java oracle.apex.APEXExport - db %oracleHost%:1521/%OracleServiceName%-utilisateur % oracleUser %-% oracleSystemPass %-forum password

  • Wrong number of photos to import into Lightroom 6.6

    HI :-)

    I'm new to this, so please excuse me if I make mistakes ;-)

    When I sync files in Lightroom 6.6, a wrong number of new pictures to import appears.

    If I synchronize without adding new files, LR insists that 371 new files are found. However, the files are not displayed (because they aren't there, of course) but LR keep finding these "ghosts of the files.

    How can I me LR to "forget" these files?

    Any help is greatly appreciated!

    6.6 Lightroom

    Windows 10

    Best regards

    Thomas

    Denmark

    OK, as far as I know, it's what's supposed to happen when you synchronize files that have been imported from photos. County shows all photos in the folder and then, when you click on synchronize, Lightroom realizes that there is no new pictures to add, and so there is effectively nothing. If there were a few new files to add and some old files that does not need to be added, the number in the dialog box would be all the photos in the folder; and then that would be added the new files.

  • Can't get the procedure to update - PLS - 00306:Wrong number or types of arguments

    I'm in a situation where I think that despite the correct number of parameters by the way my local procedure (which has been "forward declarations" in addition to logical writing for her; I use all this in a package) fails to compile in SQL * faster due to the error PLS - 00306:Wrong number or types of arguments in the call to P_SENDMAIL.


    I'm passing 5 parameters in the area of forward declarations and also in the logic/header inside in addition to calling the procedure in the package. Can one of you help mewith this and tell me where exactly the error might be. Here is the code:


    [code]

    -Local variable

    CRLF VARCHAR2 (2) CONSTANT: = CHR (13) | CHR (10);

    -- --------------------------------------------------------------------------------

    -FORWARD DECLARATIONS

    -- -----------------------------------------------------------------------------

    PROCEDURE p_sendmail (p_sender_email IN VARCHAR2,

    P_FROM IN VARCHAR2,

    p_to IN VARCHAR2,

    msg_subject IN VARCHAR2 DEFAULT NULL,

    p_msg_body IN LONG DEFAULT NULL);

    [/ code]


    The procedure itself:


    [code]


    PROCEDURE p_sendmail (p_sender_email IN VARCHAR2,

    P_FROM IN VARCHAR2,

    p_to IN VARCHAR2,

    msg_subject IN VARCHAR2 DEFAULT NULL,

    p_msg_body IN LONG DEFAULT NULL) is

    LONG v_to_list;

    LONG v_cc_list;

    LONG v_bcc_list;

    T_DATE VARCHAR2 (255) DEFAULT TO_CHAR(SYSDATE, 'DD MON YYYY HH24:MI:SS PM');

    g_mail_conn UTL_SMTP. CONNECTION;

    SMTP_HOST CONSTANT VARCHAR2 (256): ='smtp - abc.defg.ca';

    SMTP_PORT CONSTANT PLS_INTEGER: = 25;

    BEGIN

    g_mail_conn: = UTL_SMTP. OPEN_CONNECTION (SMTP_HOST, SMTP_PORT);

    UTL_SMTP. HELO (g_mail_conn, SMTP_HOST);

    UTL_SMTP.mail (g_mail_conn, p_sender_email);

    UTL_SMTP. RCPT (g_mail_conn, p_to);

    UTL_SMTP.open_data (g_mail_conn);

    UTL_SMTP.write_data (g_mail_conn, "|) CRLF);

    UTL_SMTP.write_data (g_mail_conn, p_msg_body);

    UTL_SMTP.close_data (g_mail_conn);

    UTL_SMTP. Quit (g_mail_conn);

    EXCEPTION

    WHEN utl_smtp.transient_error THEN

    Dbms_output.put_line ('TransientError: invalid operation in the service may not be available.) ") ;

    WHEN utl_smtp.permanent_error THEN

    Dbms_output.put_line (' permanent error: the entered email is invalid or recepients mailbox is full.) ») ;

    WHILE others THEN

    Dbms_output.put_line ('Unable to send an email' |') '|| SQLERRM);

    END p_sendmail;

    [/ code]

    Now by calling the procedure to send an email:

    [code]

    p_sendmail (p_sender_email = > ' [email protected]'-, send an E-mail to the donor )

    p_from = > ' ADS < [email protected] > ',

    p_to = > v_store_email_address,

    p_msg_subject = > 'anonymous user ',.

    p_msg_body = > 'thank you ' |

    CRLF.

    "Email confirms that we have received your promise |

    CRLF.

    CRLF.

    ' Name: '. v_full_name |

    CRLF.

    ' Temporary ID: ' | v_azbwccp_id |

    CRLF.

    "Reference number: ' |" MTID |

    CRLF.

    "Amount: ' | '. TO_NUMBER (campaign_desg_amt1) |

    CRLF.

    "Campaign: ' | '. campaign |

    CRLF.

    ' Description: ' | '. adbdesg_rec.adbdesg_name |

    CRLF.

    ' Type: ' | atvpldg_rec.atvpldg_desc |

    CRLF.

    ' Duration: ' | '. atvpdur_rec.atvpdur_desc |

    CRLF.

    "Frequency: ' | '. atvfreq_rec.atvfreq_desc |

    CRLF.

    "Start date: ' | '. bill_date2 |

    CRLF.

    CRLF.

    'Your commitment is processed.' |

    CRLF.

    "At the same time, if you want to change this transaction, please contact us.

    CRLF.

    CRLF.

    "Thank you for your support." |

    CRLF.

    CRLF.

    CRLF.

    CRLF.

    ' * This is an automated message system. Please, do not respond to this email. *** ') ;

    [/ code]


    I've also attached a screenshot of the error message below:

    ScreenHunter_15 Nov. 27 09.35.jpg

    Please help me if you can. I just can't understand the question.


    Thanks in advance

    Sandeep

    In the header of the procedure, I spent my parameter as msg_subject and during the call, he was p_msg_subject. The minute that I corrected the error, I was able to correctly compile the whole package body.

    The question can be now closed.

  • a wrong number or types of arguments in the call to and

    Hello

    Description: problem connecting to a database of the relationship of the processor of the NDA.

    I want to enrich the incoming events with available data in the relational database. As stipulated in the Oracle® CEP Administrator's Guide, I created the

    Data source JDBC in queue server configuration (config.xml). As he didn't throw me any error while staring at the server, I guess, the data source is fine.

    I followed the steps below:

    1 creation of the types of events in my context.xml in my application (fields in my paintings are shown as the property).

    < wlevs:event - type the type name = "walletMonitoringEvent" >

    < wlevs:properties >

    <! - walletkey in db is of type varchar - >

    < name wlevs:property = "walletkey" type = 'char []' length = "20" / >

    < / wlevs:properties >

    < / wlevs:event - type >

    2 create a "table" in context.xml

    < wlevs:table - event type = "walletMonitoringEvent" id = "walletMonitoring" data source = "walletDataSource" / >

    3. added the table source in my processor.

    < wlevs: channel id = "inputChannel" - type of event = "WalletEvent" >

    < wlevs:listener ref = "walletProcessor" / >

    < / wlevs: channel >

    4. has tried to link the database to the CQL processor.

    " < = xmlns:wlevs wlevs:config ' http://www.BEA.com/ns/wlevs/config/application "xmlns:jdbc =" " http://www.Oracle.com/ns/OCEP/config/JDBC "> "

    < processor >

    < name > walletProcessor < / name >

    < rules >

    < request id = "F1" >

    <! [CDATA]

    Select i.walletkey, i.createdDate in inputChannel as I, walletMonitoring w

    where i.walletkey = w.walletkey

    []] >

    < / query >

    < / rules >

    < / processor >

    < / wlevs:config >

    I get the error in the logs when I try to deploy the project below:

    < 17 November 2014 13:46:16 THIS > < emergency > < CQLServer > < BEA-000000 > < CREATE QUERY AS F1

    Select i.walletkey, i.createdDate in inputChannel as I, walletMonitoring w

    where > > i.walletkey = w.walletkey < <

    a wrong number or types of arguments in the call to and. Check the spelling of the registered service. Also confirm that his appeal is correct and its settings are correct data types. >

    < 17 November 2014 13:46:16 THIS > < emergency > < CQLServerTrace > < BEA-000000 > < oracle.cep.exceptions.CEPException: number or types of arguments in the call to and wrong >

    < 17 November 2014 13:46:16 THIS > < error > < CQLProcessor > < BEA-000000 > < unable to create the declaration [F1].

    Invalid statement: "select i.walletkey, i.createdDate from inputChannel as I, walletMonitoring w.

    "where > > i.walletkey = w.walletkey < < '.

    Description: a wrong number or types of arguments in the call to and

    Cause: This error occurs when the named function call cannot be matched to any declaration for this function name. The function name can be spelled, a parameter can have the wrong data type, or the function declaration may be faulty

    Action: Check the spelling of the registered service. Also confirm that his appeal is correct and its settings are correct data types. >

    < 17 November 2014 13:46:16 THIS > < error > < deployment > < BEA-2045013 > < the context of the "updateWallet" application could not be started. The cause is:

    Invalid statement: "select i.walletkey, i.createdDate from inputChannel as I, walletMonitoring w.

    "where > > i.walletkey = w.walletkey < < '.

    Description: a wrong number or types of arguments in the call to and

    Cause: This error occurs when the named function call cannot be matched to any declaration for this function name. The function name can be spelled, a parameter can have the wrong data type, or the function declaration may be faulty

    Action: Check the spelling of the registered service. Also confirm that his appeal is correct and its settings are correct data types. >

    Hi Siva,

    It seems the event type walletkey property is set incorrectly. Please try to set the event as follows:

    Use "char" instead of "char []."

    Best regards

    Sandeep

  • PLS-00306: wrong number or types of arguments in the call to 'XXC_AMOUNT' ORA-06550

    Hi all

    CREATE OR replace PROCEDURE Xxc_amount (v_item_id IN NUMBER,

                                             v_amount  OUT NUMBER,

                                             v_size    OUT NUMBER)

    IS

      v_size   NUMBER := NULL;

    v_amount NOMBRE;

    START

        BEGIN

    CHOOSE conversion_rate

            INTO   v_size

    FROM mtl_uom_class_conversions

            WHERE  inventory_item_id = v_item_id -- 2289;

            v_amount := Nvl (Trunc (v_size), 0);

    -RETURN (cp_cartons);

        EXCEPTION

            WHEN OTHERS THEN

              v_size := 0;

              dbms_output . Put_line ()' Error getting Item Id:'| V_ITEM_ID );

        END ;

    dbms_output. Put_line ('Qty-->' || v_amount );

    dbms_output. Put_line ('Qty1-->'|| v_size );

    END ;

    DECLARE

        amount NUMBER;

        v_size NUMBER;

    START

        Xxc_amount (2289, amount, v_size);

    dbms_output. Put_line (amount || '--' || v_size );

    END ;

    ORA-06550: line 5, column 5:

    PLS-00306: wrong number or types of arguments in the call to 'XXC_AMOUNT '.

    ORA-06550: line 5, column 5:

    PL/SQL: Statement ignored

    Thank you

    Post edited by: 994122 changed the name of the procedure to Xxc_amount Xxc_amount1

    Simply remove the declarations of the v_size and v_amount and it should work.

    The following text compiles and works for me when I call:

    CREATE OR replace PROCEDURE Xxc_amount (v_item_id IN NUMBER,
                                            v_amount  OUT NUMBER,
                                            v_size    OUT NUMBER)
    IS
    BEGIN
        BEGIN
            SELECT conversion_rate
            INTO  v_size
            FROM  mtl_uom_class_conversions
            WHERE  inventory_item_id = v_item_id; -- 2289;
            v_amount := Nvl (Trunc (v_size), 0);
        --RETURN (cp_cartons);
        EXCEPTION
            WHEN OTHERS THEN
              v_size := 0;
              dbms_output.Put_line ('Error in Getting for Item Id :'|| v_item_id);
        END;
        dbms_output.Put_line ('Qty-->' || v_amount);
        dbms_output.Put_line ('Qty1-->'|| v_size);
    END;
    
    DECLARE
        amount NUMBER;
        v_size NUMBER;
    BEGIN
        Xxc_amount (2289, amount, v_size);
        dbms_output.Put_line (amount || '--' || v_size);
    END;
    
  • Server error: Wrong Number: PMT_000008

    Cannot change the method of paymaent

    AFTE click here is the error:

    Server error

    Error:

    For the moment, we are unable to perform the specified action. Please accept our apologies for any inconvenience. We got a notice and try to rectify the situation as soon as possible. Click on the "back" button (back) on your browser and try again later, or perform other actions.

    Wrong Number: PMT_000008

    Help, please.

    Hello

    You will need to contact support by calling/chat for this request.

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    Please see Support FAQ: how to contact Adobe for support?

    Hope that helps!

    Kind regards

    Sheena

  • Nested Tables: PLS-00306: wrong number or types of arguments

    Hello

    I created a package for updating of wages for a list of the empnos passed as parameter inside below is the package code:

    CREATE or REPLACE PACKAGE method

    AS

    type emp_list IS TABLE OF emp.empno%type;

    PROCEDURE add_sal (empnos emp_list);

    END method;

    /

    CREATE or REPLACE PACKAGE body method

    AS

    PROCEDURE add_sal (empnos emp_list)

    AS

    BEGIN

    ForAll I IN 1... empnos. Count

    UPDATE emp SET sal = sal plus 100 WHERE empno is empnos (i);

    END add_sal;

    END method;

    /

    When I try to call the procedure to aid under block it works fine:

    DECLARE

    empnos emp_info.emp_list: = emp_info.emp_list (1111,1112);

    BEGIN

    emp_info.add_sal (empnos);

    END;

    /

    But when I try to create the same as type I created in the package and try to pass to the procedure, the block fails with the error:

    DECLARE

    type emp_list IS TABLE OF emp.empno%type;

    empnos emp_list;

    BEGIN

    empnos: = emp_list (1111,1112);

    emp_info.add_sal (empnos);

    END;

    /

    Error report-

    ORA-06550: line 8, column 3:

    PLS-00306: wrong number or types of arguments in the call to 'ADD_SAL '.

    Can someone please help me understand why we see this error?

    With the help of: Windows 8.1

    Database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production

    PL/SQL Release 12.1.0.1.0 - Production

    "CORE 12.1.0.1.0 Production."

    AMT for 64-bit Windows: Version 12.1.0.1.0 - Production

    NLSRTL Version 12.1.0.1.0 - Production

    But when I try to create the same as type I created in the package and try to pass to the procedure, the block fails with the error:

    No - it is NOT of the same type. One is the type of package and this news isn't the type of packet.

    The fact that they have the same projection or a set of attributes is obsolete.

    See the Oracle documentation

    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/Collections.htm#BEIEADAA

    You can assign values to all fields at the same time that if you assign a record to another record with the same data type. With fields that match exactly isn't enough, as shown in example 5-48.

    Example 5-48 assigning all the fields of a record in a statement

    DECLARE
    -Two declarations of the same types.
    TYPE DeptRec1 IS MADE
    (dept_num NUMBER (2), dept_name VARCHAR2 (14));
    TYPE DeptRec2 IS MADE
    (dept_num NUMBER (2), dept_name VARCHAR2 (14));
    dept1_info DeptRec1;
    dept2_info DeptRec2;
    dept3_info DeptRec2;
    BEGIN
    -Is not allowed; different types of data,
    -even if the fields are the same.
    -dept1_info: = dept2_info;
    -This assignment is OK because the files have the same type.
    dept2_info: = dept3_info;
    END;
    /

Maybe you are looking for