Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to execute a procedure with cx_oracle

741594Dec 16 2009 — edited Dec 16 2009
Hi,

I would like to know if it's possible to execute a stored procedure already compiled and stored in the database. I am trying to execute it by doing the following in python?

cur.exectute("exec stored_procedure;")

If this is not correct, then is there a statement I can pass to cur.execute() to execute a stored procedure. Please note that I am not asking about coding a procedure in cx_oracle and then excuting it using Python. I am just looking to execute a procedure already present in the database using cx_oracle.

Thanks,
Abdul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 13 2010
Added on Dec 16 2009
1 comment
12,921 views