PLS-00801: internal error [74306] help me!

Hello
I wrote a few Application of PL/SQL using Bulk binding and PL/SQL Collection at Oracle 9.2.0.8 AIX

But I met the strange error message when compiling.
PLS-00801: internal error [74306 | http://forums.oracle.com/forums/]

I tried searching Google and Metalink, I couldn't find the answer on the error. ?:|

# code example lifting PLS-00801
-----
declare
TYPE the word () IS RENDERED
T1D PLS_INTEGER,
PLS_INTEGER T2D
);
Term_arr TYPE IS an ARRAY OF THE term directory INDEX;
TYPE term_group IS the TABLE OF term_arr INDEX DIRECTORY.
term_group v_term_group;
BEGIN
SELECT
20080101 as dt,
as T2D 20081231
LOOSE v_term_group COLLECTION (1)
FROM DUAL;
END;
-----
as I think, this code has no problem, but at the time of compilation, it shows error ORA-00801.
can anyone tell me about this error or problem in this code?

Probably a bug in 9i, it works in 10g:

SQL> select * from v$version
  2  /

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE    10.2.0.1.0      Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production

SQL> declare
  2  TYPE term IS RECORD (
  3  dt1 PLS_INTEGER,
  4  dt2 PLS_INTEGER
  5  );
  6  TYPE term_arr IS TABLE OF term INDEX BY BINARY_INTEGER;
  7  TYPE term_group IS TABLE OF term_arr INDEX BY BINARY_INTEGER;
  8  v_term_group term_group;
  9  BEGIN
 10  SELECT
 11  20080101 as dt,
 12  20081231 as dt2
 13  BULK COLLECT INTO v_term_group(1)
 14  FROM DUAL;
 15  END;
 16  /

PL/SQL procedure successfully completed.

SQL> 

SY.

Tags: Database

Similar Questions

  • Static class functions: PLS-00801: internal error [phd_get_defn:D_S_ED:LHS]

    Any ideas why this would generate an internal error - referring to a static class function in the constructor of this class parameter signature?

    Test case (on 11.2.0.2) as follows:
    SQL> create or replace type TMyObject is object(
      2          id      integer,
      3          name    varchar2(30),
      4  
      5          static function DefaultID return integer,
      6          static function DefaultName return varchar2,
      7  
      8          constructor function TMyObject(
      9                  objID integer default TMyObject.DefaultID(), objName varchar2 default TMyObject.DefaultName()
     10          )return self as result
     11  );
     12  /
    
    Type created.
    
    SQL> 
    SQL> create or replace type body TMyObject is
      2  
      3          static function DefaultID return integer is
      4          begin
      5                  return( 0 );
      6          end;
      7  
      8          static function DefaultName return varchar2 is
      9          begin
     10                  return( 'foo' );
     11          end;
     12  
     13          constructor function TMyObject(
     14                  objID integer default TMyObject.DefaultID(), objName varchar2 default TMyObject.DefaultName()
     15          )return self as result is
     16          begin
     17                  self.id := objId;
     18                  self.name := objName;
     19                  return;
     20          end;
     21  
     22  end;
     23  /
    
    Type body created.
    
    SQL> 
    SQL> declare
      2          obj     TMyObject;
      3  begin
      4          obj := new TMyObject();
      5  end;
      6  /
    declare
    *
    ERROR at line 1:
    ORA-06550: line 0, column 0:
    PLS-00801: internal error [phd_get_defn:D_S_ED:LHS]
    If static class functions are removed from the manufacturer and applied to the place inside the body of the constructor, it works without error. Similarly, you can call the constructor with the functions of the static class as parameters, without causing an internal error.
    SQL> create or replace type TMyObject is object(
      2          id      integer,
      3          name    varchar2(30),
      4  
      5          static function DefaultID return integer,
      6          static function DefaultName return varchar2,
      7  
      8          constructor function TMyObject(
      9                  objID integer default null, objName varchar2 default null
     10          )return self as result
     11  );
     12  /
    
    Type created.
    
    SQL> 
    SQL> create or replace type body TMyObject is
      2  
      3          static function DefaultID return integer is
      4          begin
      5                  return( 0 );
      6          end;
      7  
      8          static function DefaultName return varchar2 is
      9          begin
     10                  return( 'foo' );
     11          end;
     12  
     13          constructor function TMyObject(
     14                  objID integer default null, objName varchar2 default null
     15          )return self as result is
     16          begin
     17                  self.id := nvl( objId, TMyObject.DefaultID() );
     18                  self.name := nvl( objName, TMyObject.DefaultName() );
     19                  return;
     20          end;
     21  
     22  end;
     23  /
    
    Type body created.
    
    SQL> 
    SQL> declare
      2          obj     TMyObject;
      3  begin
      4          obj := new TMyObject();
      5  end;
      6  /
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    SQL> declare
      2          obj     TMyObject;
      3  begin
      4          obj := new TMyObject(
      5                          objID => TMyObject.DefaultID(),
      6                          objName => TMyObject.DefaultName()
      7                  );
      8  end;
      9  /
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    Had a look on support.oracle.com and turned toward the top of the specific remarks concerning the use of the static class functions in the signature of the constructor parameter. Known issue? Any other solution in addition to the above?

    Hello

    There is a bug: ""Bug 8470406: CREATING an OBJECT INSTANCE FAILS WITH the ERROR PLS-00801 IN 11 GR 1 material ", it shows the behavior in 11 g but not to the point 10.2." It gives exactly the symptoms you see also, move to the body and it works. But he gave no solution/patch.

    Herald tiomela
    http://htendam.WordPress.com

  • PLS-00801: internal error [phdcsql_canonical_sql]

    Hi again

    Using a query like this:
    INSERT INTO OM_DB.CDRS_VALIDOS_TMP (
      SELECT 
      FROM (
        SELECT 
        FROM (
          SELECT 
          FROM (
            .....
          )
        )
        FULL OUTER JOIN
        (
          SELECT ....
        )
      )
    )
    I get this error:

    ORA-06550: line 0, column 0:
    PLS-00801: internal error [phdcsql_canonicalize_sql: state], lot 1 row 1, Col 1

    Now, believe me, all the select its ok, because I just probe the part and his work, but when I try to insert in the OM_DB. Table CDRS_VALIDOS_TMP that it does not work, I hear something about a bug on this version, it's my only clue, an idea?

    These are the settings of the oracle:

    "Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi.
    "PL/SQL version 10.2.0.3.0 - Production.
    "CORE 10.2.0.3.0 Production."
    "TNS for Solaris: release 10.2.0.3.0 - Production.
    "NLSRTL Version 10.2.0.3.0 - Production"

    Thanks in advance.

    Similar to [stored procedure does not Compile in 10g release 2 leads to PLS-00801 | https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=377031.1].

    SY.

  • database from 32 bit to 64 bit on Linux data / ORA-06553: PLS-801: internal error [56319]

    Hello

    I've migrated EBS from 32 bit to 64 bit Linux database. I followed this Metalink note.

    Note - 341880.1 how to convert a database from 32-bit to 64-bit on Linux database?

    After the move, I did the below steps and get the error below... How to solve this problem?

    ===================================================================================

    SQL > startup nomount

    ORACLE instance started.

    Total System Global Area 595591168 bytes

    Bytes of size 2098016 fixed

    415239328 variable size bytes

    163577856 of database buffers bytes

    Redo buffers 14675968 bytes

    SQL > @create_control - file.sql

    Created control file.

    SQL > alter database open resetlogs;

    Database altered.

    SQL > ALTER TABLESPACE TEMP add TEMPFILE ' / d01/prd1/prd1data/tmp1.dbf' SIZE 2000 M REUSE AUTOEXTEND OFF;

    Tablespace altered.

    SQL > @$ORACLE_HOME/olap/admin/olap.sql SYSAUX TEMP

    BEGIN

    *

    ERROR on line 1:

    ORA-06553: PLS-801: internal error [56319]

    DECLARE

    *

    ERROR on line 1:

    ORA-06553: PLS-801: internal error [56319]

    BEGIN

    *

    ERROR on line 1:

    ORA-06553: PLS-801: internal error [56319]

    ===================================================================================

    Thank you.

    Please see the solution in (ORA-06553: PLS-801: internal error [56319], ORA-06544: PL/SQL: internal error, arguments: [56319] [] [], [], [], [], [], [], ORA-00604 when using different bit datafiles that executable Oracle (Doc ID 1436552.1)).

    Thank you

    Hussein

  • ORA-06553: PLS-801: internal error [56319]

    Hello
    I opened my rman backup, not it works. (X 64)

    but when I need to delete a user, I got the error below,



    SQL > drop user ugur;
    Drop user ugur
    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-06553: PLS-801: internal error [56319]

    someone has an idea, please?

    Selam ugur

    This problem occurs every time if you 64B to the BONE to the 32 p.

    Since the package has been compiled on 64B OS version is necessary is a re - compile the correct version of the operating system. During the db has to go into upgrade mode.
    SQL > shutdown immediate;
    SQL > startup upgrade;
    SQL > @$ ORACLE_HOME/rdbms/admin/utlirp.
    SQL > shutdown immediate;
    SQL > startup;
    SQL > @ $ORACLE_HOME/rdbms/admin/utlrp.

    information on metalink Note: 414043.1, Note: 413484.1

    concerning

    Daniele Besiroglu

  • Error PLS-00801: [phdcsql_print_kge_errors::parm pos] internal error while deploying card OWB

    Any deployment of an existing map of OWB, particularly in an environment (example B), I am facing this error message so that the same code works fine in another environment (say A).

    I tried importing the .mdl to another (A) environment where it works fine, imported in a B environment and attempted to deploy, has always given me same error message all in deployment.

    Help, please.

    Errors of compilation for BODY of PACKAGE *.

    Error: PLS-00801: internal error [phdcsql_print_kge_errors::parm pos]

    Line: 1

    Text: CREATE OR REPLACE PACKAGE BODY "*" AS

    Error: PL/SQL: statement ignored

    Line: 11

    Text: SELECT

    Error: PLS-00801: internal error [phdcsql_print_kge_errors::parm pos]

    Line: 1

    Text: CREATE OR REPLACE PACKAGE BODY 'MAP_DMT_CUST_COMPLAINT_UI' AS

    Error: PL/SQL: statement ignored

    Line: 709

    Text: SELECT

    Error: PLS-00801: internal error [phdcsql_print_kge_errors::parm pos]

    Line: 1

    Text: CREATE OR REPLACE PACKAGE BODY "*" AS

    Error: PL/SQL: statement ignored

    Line: 2332

    Text: MERGE

    Error: ORA-00900: invalid SQL statement

    ORA-00900: invalid SQL statement

    ORA-00900: invalid SQL statement

    Line: 1

    Text: CREATE OR REPLACE PACKAGE BODY "*" AS

    A table was missed and not imported in the OWB repository from which this table was not related. I imported this table, bounded to the search with the table operator and it worked fine.

    Somehow instead of give the real reason, she gave this vague error.

    I hope that this solution works for others :-)

  • Need help with converter - unknown internal error

    Have 2 HP DL380 G7 ESXi hosts and a HP DL180 G6 vCenter Management Server running all ESXi 5.0.  ESXi hosts are in a data center but not a Cluster.

    I am trying to convert 2 physical Windows 2003 Server virtual machines, but continues to receive "a general error has occurred: unknown internal error" when you run Standalone Converter 5.0.

    I tried to follow the best practices of P2V: http://kb.vmware.com/kb/1004588

    Do not make a partition resizing.  Sysprep files in the source directories and correct destination.  The converter must connect the server vCenter Server, not an ESXi host directly.  The Windows Firewall is disabled on the server vCenter Server.

    Newspapers converter is attached.

    Any ideas?

    Seems that "esxi1" is not visible from the converter server. Add it to the hosts file or use as IP.

  • ORA-01041: internal error. hostdef extension doesn't exist in form 10g

    While that compile Forms 10g I get this error, pls help me on this problem.

    Visit this link... ORA-01041: internal error. Hostdef extension doesn't exist

    hope this helps

  • "Internal Error has occurred" dc Enterprise Manager for 11 GR 2 on Win7 ultima

    Pls I need to get my Business Manager console works correctly.

    I have successfully completed a default installation of Enterprise GR 11, 2 on Windows 7 Ultimate edition with the following error message

    " ..... Error starting database control. Please Execute the command (s) next

    1. set the environment variable ORACLE_UNQNAME for the unique base name

    2 C:\app\mircrosoft\product\11.2.0\dbhome_1\bin\emctl.bat startdbconsole.

    So when I connect to https://localhost:1158 / em, I get this error: "internal error occurred. Check the logs for more details.
    The problem is I can't find ORACLE_UNQNAME among listed on my system environment variables and therefore cannot
    not rename it to my single database (orcl) as recommended. How to solve this

    pls help

    GWE

    Salvation;

    C:\>set ORACLE_UNQNAME = orcl

    user

    set ORACLE_HOME = orcl

    set ORACLE_HOME = your oracle software localization

    C:\>emctl start dbconsole

    Can you also tell me how to create ORACLE_HOME, ORACLE_BASE, ORACLE_UNQNAME in windows 7

    Your oracle_home and the database during the installation steps, you will need to check the Setup log or regedit

    Respect of
    HELIOS

  • Internal error in safari on download (navigation finder via safari)

    Hello

    I have a problem with Safari. Whenever I try to send, or upload a file, or just browse the finder (see imageView imageView imagehttps://www.google.co.uk/url?sa=i & rct = j & q = & esrc = s & source = image & cd = & cad = AJLN uact = 8 & ved = 0ahUKEwiD-JO9taPOAhVrI8AKHZgMCkUQjBwIBA & url=http%3A%2F%2Fcdn.osxdaily.com %2Fwp-content%2Fuploads%2F2014%2F12%2FSHRINK-SAVE-DIALOG-WINDOW-OS-X.jpg & bvm = bv. 128617741 d.ZGg & lb/po2 = AFQjCNE-8daDlrJRNqFPh3oWGIrw26bWaw & 1470250870765789 = ust) I get an internal error like this :

    Details of the accident report are:

    http://pastebin.com/Q8gH5LQp

    Any help would be appreciated. Thanks in advance.

    Moreover, the accident report is when I tried to use Google Chrome, and the screenshot in the thread above was when I was with Safari.

  • 500 internal Error Privoxy keeps occurring when I load the page.

    I get an internal error 500 of Privoxy when I open http://www.thoroughbredgt.com/

    Error reads: Privoxy has encountered an error while processing your request:

    Unable to load template file without Server-data or one of its components included.

    Please contact your administrator for the proxy.

    If you are the administrator of the proxy, please put the files required in the (confdir) / templates directory. The location of the directory (confdir) is specified in the main Privoxy configuration file. (It is usually the installation of Privoxy directory).

    I can't understand how to solve the problem. Any help?

    I have not had any problems.
    Try this link; http://www.thoroughbredgt.com/

    It could be that there is something to block this site, like a firewall.
    Contact your provider and ask questions. Try the link on another
    computer, or another browser.

  • The Web Acceleration Client error (513) - internal error of the Web acceleration Client has detected an internal error that caused the connection between the accelerometer of the Web

    The Web Acceleration Client error (513) - internal error
    The Web acceleration Client has detected an internal error that caused the connection between the customer to accelerate Web and server acceleration Web to be broken. A new attempt of the web page may correct the problem.

    I get this error at all times when working in the ancestry.com Web site. I have to reload the page on almost every search I do on this Web site. It is the site of the ONLY I get this error message, can run uninterrupted for several hours on other sites and never get this message. I talked to the people at Ancestry.com support and they did 2 recommendations: turn antivirus (did not help) or switch to another web browser. I tried both 11 IE and Chrome Version 31.0.1650.63 m and I have no problem with either of these 2 browsers this error.

    Is there a problem with the way Firefox and ancestry.com communicate?

    Hello byron.lewis, many site problems can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

    Thank you.

  • WebKit has encountered an internal error

    iPad continues to display the message "Safari cannot open the page. The error was webkit has encountered an internal error"when I try to connect to the internet.  I'm not very tech savvy, so feel free to dumb down of suggestions

    Hello BigDGoodwin,

    I understand that you have a problem with browsing the web on your iPad. Let's see if we can get this sorted out.

    The firs thing I'd watch must reset Safari on your iPad. Go in settings > Safari and then click on clear history and data from the Web site. Then he comes to open Safari again and then try to connect to a Web site. Take a look at the article below for more details.

    Safari settings
    http://help.Apple.com/iPad/9/#/iPadabb26b71

    Take care

  • Graphics card has encountered an internal error during games

    can someone help me! ??? Im not sure what caused it but a week ago, when you try to play a game that has always worked well, a note appeared saying the graphics card had "encountered an internal error" and close the program. I'm not sure why this is, but I'm not sure how to fix this problem either!

    Please someone shed some light or offer a way to fix it? I tried to watch graphics settings, but I'm really lost!

    Many thanks in advance,
    Emily

    Hello

    Check your device for the graphics card Manager. Check if there is no yellow exclamation point.
    Further, you can visit the Toshiba driver page and there you will find the graphics card driver for your device.

  • "27049 internal error" when you use recovery with Equium A60-692 utility

    TOSHIBA SATELLITE A60 - 692

    I'm trying to fix a friends laptop. The laptop computer wouldnâ? t start, would go to the blue screen just before the came WinXP loading screen then will re-start. I used a USB 2.5 HDD enclosure "to copy important files on my laptop and then formatted the drive of my laptop. I put the HARD drive in the Toshiba and have used the CD of restoration via an advanced option. on exactly 9mins 50sec time on the recovery process, an error message appears (27049 internal error). After that, it goes to a screen of style BACK with a little more information. Essentially by specifying that the error is "cannot read FILE_BITMAP MFT entry.

    I cleaned the CD
    I swapped the CD drive with my laptop
    Quick formatting it formatted, it is full
    Used the basic option where it does itself and it ERRORS with - not enough space on the partition - there is no partition! or if there's empty sound

    What can I do?

    Hello

    I think that the HARD drive is broken, because if you receive an error message with words like "MFT" (meaning MasterFileTable) then you can expect that the HDD has serious problems.
    OK, easy to talk to it s fast without knowing the machine and so on, but I know a similar error and I can give you the advice to probe hard disk errors.
    You can do this with the help of the "ultimate boot cd" which is a very interesting tool when you need information about your computer or you want to just check if everything works well.
    Here´s the link to the downloadable CD image that should be on a CD:

    http://www.ultimatebootcd.com/

    Hope you can solve this problem...

    Welcome them

Maybe you are looking for

  • Help with Satellite P30-131

    Hello I have a laptop toshiba satellite p30-131, I'm trying to locate the product of the present specification, but I can't seem to find it anywhere, any help is appreciated... also if the dvd player is classified as dvd - ram, it is still possible t

  • View the contents of the DDHN does not update content

    Hello I want to create: The group '0', '1', 'Canal2', 'Canal3"...; Group '10', '1', 'Canal2', 'Canal3"...; Group '20', '1', 'Canal2', 'Canal3 '... for a PDM file. When I use the screws attached, it did not work properly. I don't know why? Any help wi

  • HP Pavilion 14-n059TX: black screen

    Hello! I have a problem with my HP laptop Windows running 8.1. At first, when I go to the computer setting, he showed that this app can not open. File Explorer is running with administrator privileges. Restart the Explorer of files normally and try a

  • HP Pavilion dv6523ea - RAM upgrade

    Hello I want to increase the RAM of my laptop HP Pavilion, but under the lower part of it, he has writter DV6523ea both DV6500. When I want to buy the RAM memory, which one of them, I have to watch? Thanks for the cordial answer, Kind regards

  • I can't use check all videos

    I've used Sony Xperia Z2 for a few weeks now and I noticed that the video camera is not working. Whenever I click on it, it shows me error that the camera is not available.