Re: [cx-oracle-users] How is cursor.callfunc() supposed to work?
Brought to you by:
atuining
From: Paul M. <p.f...@gm...> - 2012-02-22 07:40:12
|
On 22 February 2012 07:38, Paul Moore <p.f...@gm...> wrote: >> So ... should I try to use cursor.callfunc() in the future, >> or just stick with statements like the above? > > From this code, it appears the api call is a procedure, rather than a > function (no return value). The cursor.callfunc method won't work for > procedures, I suspect (no return type - you appear to have used > cx_Oracle.NUMBER in your tests, for some reason...). So I'd suggest > that you need to stick with the execute of a block solution. ... or use cursor.callproc, which I just noticed :-) Paul |