Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: a row-level operator for copying?

Re: a row-level operator for copying?

From: Maxim Demenko <mdemenko_at_gmail.com>
Date: Fri, 27 Jul 2007 21:27:05 +0200
Message-ID: <46AA4709.3000509@gmail.com>


Mark Harrison schrieb:
> I need some python wrappers for some stored procedures and would
> like to generate these automatically by introspecting the database
> to get the names of procedures, functions, and their parameters.
>
> Any clues as which tables to look at, and any other hints
> are most appreciated.
>
> example python function, using the cx_Oracle package:
>
> def myproc(self,name,address,phone):
> r=self.cursor.callproc('myproc',[name,address,phone])
> return 0
>
> Many TIA!
> Mark
>

Names -> dba_procedures
Parameters -> dba_arguments

You won't be able to call any procedure via cursor.callproc if any of arguments is a type unsupported by cx_Oracle (like collection types)

Best regards

Maxim Received on Fri Jul 27 2007 - 14:27:05 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US