Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

ORA-24344: Success with Compilation Error

Expert Oracle Database Tips by Donald BurlesonFebruary 18, 2015

 

Question:  I am running a PL/SQL procedure on my system.  I am getting the following error:

ORA-24344: success with compilation error

but it is not showing details about the ORA-24344 error.   Can you help me out?

Answer:  To diagnose any error, you start by using the oerr utility to display the ORA-24344 error:

ORA-24344: success with compilation error

Cause: A sql/plsql compilation error occurred.

Action: Return OCI_SUCCESS_WITH_INFO along with the error code

Simply put, ORA-24344 tells you there is a problem somewhere in your code.

PL/SQL does not always tell you about compilation errors. Instead, it gives you a cryptic message such as "success with compilation error " or "procedure created with compilation errors".

Depending on the complexity of your code, you can skim it for obvious syntax errors.  If it's not immediately obvious what is wrong or missing, issue the following command:

 show errors procedure <procedure_name> ;

Alternatively, to see the most recent errors, type the following:

 SHOW ERRORS

or the abbreviated version works just as well:

SHO ERR

The location of the error given as part of the error message is not always accurate, but it is generally the best place to start your investigation.

The following example is an excerpt from  the Easy Oracle PL/SQL Programming book by John Garmany.

SQL> create or replace function broken  
2    (n_faren IN number)  
3  as  
4    n_cel number := 0;  
5  begin  
6    n_cel := (5/9)*(n_faren -32);  
7    return n_cel;  
8  end;  
9  / 

Warning: Function created with compilation errors.

SQL> show errors
 

Errors for FUNCTION BROKEN:
 

LINE/COL ERROR
-------- ------------------------------------------------
3/1      PLS-00103: Encountered the symbol "AS" when expecting one of the following: return

5/1      PLS-00103: Encountered the symbol "BEGIN" when expecting one of the following:  end function package

 

 
Get the Complete
Oracle SQL Tuning Information 

The landmark book "Advanced Oracle SQL Tuning  The Definitive Reference"  is filled with valuable information on Oracle SQL Tuning. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.

































 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster