MySQL Forums
Forum List  »  Stored Procedures

procedures in Qt/c++
Posted by: Frank Büttner
Date: November 03, 2005 07:22AM

When I try to call my procedure i the the error: "Can't return a result set in the given context"
here the code of the procedure:
CREATE PROCEDURE `ListeAllerLiefererNachName`()
SQL SECURITY INVOKER
begin
select LiefererNummer as P_Lieferernummer ,LiefererName as P_Lieferername from Lieferer order by LiefererName ASC;
end //

When i try calling it via call ListeAllerLiefererNachName(); on the mysql console it works.
But then i try this in the SQL Query of my Qt/c++ app. I get the error. Any Idears?

Options: ReplyQuote


Subject
Views
Written By
Posted
procedures in Qt/c++
3408
November 03, 2005 07:22AM


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.