Warning: Package Body created with compilation errors.

Posted on 2008-11-13
Last Modified: 2013-12-19
When I load a SQL file into my ORACLE database, I got an error below

Warning: Package Body created with compilation errors.

buffer overflow. Use SET command to reduce ARRAYSIZE or increase MAXDATA.
No errors.

How to fix it?
Question by:mawingho
    LVL 27

    Accepted Solution

    What exactly are you doing to load the sql file?

    Are you running it as below?
    @<your file.sql>

    If so, enter the following command in sqlplus to see what are the compilation errors of your package.

    sho err
    LVL 9

    Assisted Solution


    set array 1

    and then create the package again.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
    I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
    This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
    This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now