Stored Procedures with MySQLdb/Python
Hi
I tried to use a stored procedure (MySQL 5.0.16) with MySQLdb:
CREATE PROCEDURE spTest( )
BEGIN
SELECT 'Hello World';
END
then in python:
cursor.execute(""" Call spTest() """)
the resulting error:
_mysql_exceptions.OperationalError: (1312, "PROCEDURE spTest can't return a result set in the given context")
any ideas?!
Thanx
Subject
Written By
Posted
Stored Procedures with MySQLdb/Python
December 19, 2005 08:21AM
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.