Re: a row-level operator for copying?



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

--
Mark Harrison
Pixar Animation Studios
.



Relevant Pages

  • introspecting stored procedure parameters?
    ... I need some python wrappers for some stored procedures and would ... like to generate these automatically by introspecting the database ...
    (comp.databases.oracle.misc)
  • Re: Database Model - Class, objects and interaction
    ... I was just proving stored procedures can call views. ... stuff like security and logging. ... So given 100,000 users, you would create database accounts for each? ... Part of our system's integrity was its reliability, and reliability is often assisted by simplicity. ...
    (comp.object)
  • Re: Database Model - Class, objects and interaction
    ... Stored procedures should only be used as a last resort if you cant use ... I've not said that views shouldn't be created, only that they shouldn't be exposed as the interface to the database. ... But business rules can be more complicated than simply defining overdue invoices. ...
    (comp.object)
  • Re: Infinite Loops and Explicit Exits
    ... the whole payroll system would be dependent on proper database ... I design large systems the same way. ... Stored procedures ARE application code. ... any language, including Cobol. ...
    (comp.lang.cobol)
  • Re: Identity Column
    ... the end use is using Crystal Reports - where is the magic? ... The user will connect using Active Directory from their desktop to the database server or do please explain the magic.... ... Using stored procedures you permission on the stored proc only; the user can only execute the stored procedure with the parameters defined, there is no select * from to get all the information in your database. ...
    (microsoft.public.sqlserver.programming)