I have simple sp in FB that returns only one value. There is no suspend command in sp.
I'm using last version of Unidac controls.
Now I'm trying to get that returned value in Delphi app with TUniQuery.
In code I do:
Code: Select all
q.Clear;
q.SQL.Add('EXECUTE PROCEDURE TESTME(1)');
q.ExecSql;
I also tried with
Code: Select all
q.Clear;
q.SQL.Add('EXECUTE PROCEDURE TESTME(1) RETURNING_VALUE :RET');
q.Prepare;
q.ExecSql;
I don't want to use TUniStoredProc component.
Any suggestions?
Regards, Tone