Re: Python sample code for PLSQL REF CURSORS

2006-05-04 Thread A.M
Exactly what I was looking for. Thanks alot "Gerhard Häring" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > A.M wrote: >> Hi, >> >> I am having hard time to find a sample that shows me how to return an OUT >> REF CURSOR from my oracle stored procedure to my python program. [...]

Re: Python sample code for PLSQL REF CURSORS

2006-05-04 Thread Gerhard Häring
A.M wrote: > Hi, > > I am having hard time to find a sample that shows me how to return an OUT > REF CURSOR from my oracle stored procedure to my python program. [...] import cx_Oracle con = cx_Oracle.connect("me/[EMAIL PROTECTED]") cur = con.cursor() outcur = con.cursor() cur.execute("""

Python sample code for PLSQL REF CURSORS

2006-05-04 Thread A.M
Hi, I am having hard time to find a sample that shows me how to return an OUT REF CURSOR from my oracle stored procedure to my python program. The technique is explained here for Java and Visual Basic: http://www.oracle-base.com/articles/8i/UsingRefCursorsToReturnRecordsets.php I am look