Thanks!
On 11/9/05, Gerhard Häring <[EMAIL PROTECTED]> wrote:
> infidel wrote:
> > I have a stored procedure that has a single output parameter. Why do I
> > have to pass it a string big enough to hold the value it is to receive?
> > Why can't I pass an empty string or None?
> > [...]
> > Am I mi
Gerhard Häring wrote:
> You have to use variable objects to the callproc() that will hold the
> output values. This is an example using three VARCHAR output parameters.
Oh boy, one never stops learning... I still thing a single in-out-value
is crying for a function - but in case of several parame
infidel wrote:
> I have a stored procedure that has a single output parameter. Why do I
> have to pass it a string big enough to hold the value it is to receive?
> Why can't I pass an empty string or None?
> [...]
> Am I missing something obvious here?
You have to use variable objects to the call
infidel wrote:
> I have a stored procedure that has a single output parameter. Why do I
> have to pass it a string big enough to hold the value it is to receive?
> Why can't I pass an empty string or None?
>
>
import cx_Oracle as oracle
connection = oracle.connect('usr/[EMAIL PROTECTED]
I have a stored procedure that has a single output parameter. Why do I
have to pass it a string big enough to hold the value it is to receive?
Why can't I pass an empty string or None?
>>> import cx_Oracle as oracle
>>> connection = oracle.connect('usr/[EMAIL PROTECTED]')
>>> cursor = connection