Good afternoon. I have the following storedprocedure in MySql ..:
DELIMITER $$
CREATE DEFINER='ricardo'@'%' PROCEDURE 'teste2'()
BEGIN
Select * from Tabela;
END
How do I call this storedprocedure by DELPHI 7 ?
I'm using the ZEOS components.
I already tried with the zQuery ..: Call test2; open..exeqsql .. did not work.
I have tried with ZStoredProc1 .. also did not work .. it does not even load properti the name of storedprocedure.
I know I could do a sql directly on the component, but the one described above is just an example. The procedure performs several operations and at the end there is an sql to be returned. However , even in the example above, a simple sql, I could not return storedprocedure in delphi to be viewed on a grid. Home
Thanks in advance for your attention!)