Thanks Michal for your answer.
TStoredProc = TZStoredProc ???
i get the message:
"SQL Error:Procedure spGetLogin can´t return a result set in the given context"
Search found 3 matches
- 07.03.2013, 23:20
- Forum: ZeosLib 7.0 Stable Forum
- Topic: MySQL Query error
- Replies: 4
- Views: 902
- 07.03.2013, 18:17
- Forum: ZeosLib 7.0 Stable Forum
- Topic: MySQL Query error
- Replies: 4
- Views: 902
MySQL Query error
Hi,
i have a MySQL store procedure:
CREATE PROCEDURE spGetUserData
( IN Userid INT )
BEGIN
SELECT * FROM tableA WHERE id = Userid
END;
-- SO SIMPLE
in the zQuery
QueryA.SQL.Text := 'call spGetUserData';
Compile/run and dont work!! why?
i have a MySQL store procedure:
CREATE PROCEDURE spGetUserData
( IN Userid INT )
BEGIN
SELECT * FROM tableA WHERE id = Userid
END;
-- SO SIMPLE
in the zQuery
QueryA.SQL.Text := 'call spGetUserData';
Compile/run and dont work!! why?
- 07.03.2013, 18:13
- Forum: ZeosLib 7.0 Stable Forum
- Topic: MySQL ZStoreProc error
- Replies: 1
- Views: 756
MySQL ZStoreProc error
Hi, iam try develop with ZeosLib but it is hard. I have a MySQL store procedure: [font=Courier New] CREATE PROCEDURE spGetLogin ( IN sUsername VARCHAR(32), IN sPassword VARCHAR(32), INOUT iUserId INT, INOUT iReturn INT ) BEGIN SELECT iReturn=userrol, iUserId=sysuserid FROM directorio.estsysusers WHE...