python error PLS-00306: wrong number or types of arguments in

John Gordon gordon at
Wed Jul 13 17:02:37 EDT 2011

In <86b9e6f2-e18e-41b9-92a2-86ea8d7b4592 at> Adeoluwa Odein <stratfordtenants at> writes:

> The same error. The sample were found on the following site --I copied
> exactly what is written there:
> 1.

Ah, I see.  You're supposed to call c.fetchall() afterwards to retrieve
the OUT parameter.

Also, the example page defines the called object as a function, not a
procedure.  Maybe that's the problem?  Try defining RS22 as a function
and see if that helps.

You might also try defining it outside of a package, as that is how the
example code does it.

John Gordon                   A is for Amy, who fell down the stairs
gordon at              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

More information about the Python-list mailing list