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.

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 [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.

  • 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 :-)

  • 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

  • macOS installation of Sierra (from El Capitan) fails with the message "internal error."

    Tried the update to Mac OS Sierra and it seemed that everything was fine, but at the very end of the process, it would not be completed installation. Sierra downloaded OK and when I click on install it went through a process of 15 to 30 minutes, rebooted and then watched as he was finishing the installation for a few minutes. But then I got similar error message (a gray window clear on a gray screen dark, with a round Sierra icon upwards):

    "Mac OS could not be installed on your computer.

    An internal error has occurred.

    Quit the installer to restart your computer and try again

    [Button] »

    I have a Macbook Pro retina mid 2012 with a processor clocked at 2.6 GHz Intel Core i7, NVIDIA GeForce GT 650 M 1024 MB graphics, 16 GB 1600 MHz DDR3 RAM and a SM768E of APPLE SSD flash hard drive. I ran disk utility, and it says everything is fine. I tried different approaches, several times, but no matter what I try, I can't seem to install the new macOS Sierra. I even wiped my entire computer and started from scratch, by installing a clean OS X 11 (El Capitan) and then try to install the Sierra, but still it does not work. This makes me think that maybe that's a problem with my App Store account? But given that I was connected, I'm not sure that it could be. Or maybe it's hardware related? I do not know. Even the SR Advisor. Apple I was talking with the phone was perplexed.

    Super frustrated, certainly would like some advice, thanks!

    https://support.Apple.com/en-us/HT201262

    Try starting mode safe mode and see if you can install it then

  • 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.

  • Internal error with Veetle plugins plugin

    Can someone suggest a solution... I can't Veetle to work on Firefox 4.0

    Any channel will stick to load and when I try to push the power button on the player I get an error message saying «internal error plugin»

    I tried another browser and can get Veetle to work without any problems.

    Manually, I removed the following plugins of veetle and reinstalled the:

    Veetle TV Core 0.9.18.0
    Veetle TV Player 0.9.18.0

    but still the same problem.

    The developer had to send an email, link at the bottom of this page: Vettle FAQ

  • 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

  • 15 u-010dx 360 touch screen: battery internal error: 601 on laptop HP 15-u010dx 360

    My phone receives an error page indicating: internal error battery 601, will need to be replaced.

    I had the laptop for less than a year and would like to know if this would be covered by a warranty of any kind, or how do I do to get this problem?

    Thank you!

    Hello

    The 601 error is actually a bit misleading - it refers to your main notebook lithium-ion and not the cell RTC (cmos) on the system board, as it seems to suggest.  It usually begins to appear when the battery capacity when fell below 25% of its original value.  Further details on this on the next Document in HP.

    http://support.HP.com/us-en/document/c01443470

    The battery will be covered under the same term as your laptop, so just contact HP and will make replace - if necessary, you can check the status of your warranty here.

    If you live in the United States, contact HP here.

    If you are in another part of the world, begin here.

    Kind regards

    DP - K

Maybe you are looking for