Re: Error when calling Package/Procedure that Inserts a row




CJM wrote:
I'm trying to call a procedure within a package, which inserts a row into a
table.
However, I'm getting the following error:

"SQL execution error, ORA-06550: line 1, column 22: PLS-00302: component
'ADDSERIALTOCATALOG' must be declared ORA-06550: line 1, column 7: PL/SQL:
Statement ignored"

I've searched the web, and the only hints I have found so far are that it
may be a permissions issue. I've checked the object permissions for this
user in OEM and the user does specifically have INSERT privileges for the
table in question.

I've tried using the SQL in the package to insert a record directly through
SQL Developer (using sample data) and it works fine. So one would assume
that a) the syntax correct and b) that the User has sufficient privileges to
insert rows into this table.

Any ideas what else could be causing this?

Thanks in advance.

CJM

Without seeing your actual code used to call this procedure it's
difficult to say, however I expect from the error message that you're
*not* prefixing the procedure with the package name.

Post at least the 'snippet' causing the problems and further assistance
can be provided.


David Fitzjarrell

.



Relevant Pages

  • Error when calling Package/Procedure that Inserts a row
    ... I've checked the object permissions for this ... I've tried using the SQL in the package to insert a record directly through ... SQL Developer and it works fine. ... that a) the syntax correct and b) that the User has sufficient privileges to ...
    (comp.databases.oracle.server)
  • Re: Package debugging
    ... find information about the best way to debug a package. ... capable of debugging procedures that are not part of a package. ... SQL Developer has a very nice debugger, ...
    (comp.databases.oracle.tools)
  • Re: Cant Uninstall a Package from SBS2003
    ... It might be helpful to know what package is causing the problem. ... Anna Clark ... Dazza ...
    (microsoft.public.windows.server.sbs)
  • Re: PL/SQL Code utilities?
    ... procedures/functions in a package and identify any variables that aren't referenced in the code? ... SQL Developer perhaps? ... Daniel Morgan ... Puget Sound Oracle Users Group ...
    (comp.databases.oracle.server)
  • Resolving YUM Dependencies
    ... death on my end. ... Can anyone provide some idea of what is causing these ... Package cman-kernel needs kernel = 2.6.12-1.1447_FC4, ...
    (Fedora)