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?
MySQL Query error
@thejhorse,
You certainly have tried something like this?:
Michal
You certainly have tried something like this?:
Code: Select all
ZStoredProc1.Close;
ZStoredProc1.StoredProcName:='spGetUserData';
ZStoredProc1.Params[0].Value:=50;
ZStoredProc1.Open;
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
thejhorse,
sorry for the late answer. Did Michals adivice help?
I've made some patches for the MySQL Stored-Procedures to be able to execute them with the TZQuery-Components too. But these Patches are only available on SVN..
sorry for the late answer. Did Michals adivice help?
I've made some patches for the MySQL Stored-Procedures to be able to execute them with the TZQuery-Components too. But these Patches are only available on SVN..
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/