MySQL Forums
Forum List  »  Connector/Python

Re: Getting the output parameter after calling a stored procedure!
Posted by: Geert Vanderkelen
Date: March 11, 2014 01:27PM

Hi Ernest,

Ernest Bonat Wrote:
-------------------------------------------------------
..
> cursor.callproc(procedure_name, arguments)
> print(arguments)

Correct way is:
result = cursor.callproc(procedure_name, arguments)
print(result)

The developer guide says:
http://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlcursor-callproc.html
".. The result is returned as modified copy of the input sequence. "

Cheers,
Geert

Geert Vanderkelen
Software Developer at Oracle

Options: ReplyQuote


Subject
Written By
Posted
Re: Getting the output parameter after calling a stored procedure!
March 11, 2014 01:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.