execute MySql function - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: execute MySql function (/thread-20303.html) |
execute MySql function - duende - Aug-04-2019 Hello, I have a sql function that returns an integer; I tried the cursor.callproc but ... def getValue(self, connection): cursor = connection.cursor() cursor.callproc('GetNumber') # [b]here are my doubts; how can I get the returned value ?[/b]many thanks |