MySQL Forums
Forum List  »  Delphi

Re: StoredProcedure in DELPHI 7
Posted by: Alptelkin AKAT
Date: May 08, 2006 08:07AM

This Sample is Working
But very absurd.
Thanks MySql Team :))


procedure Test_OK;
var
r:_Recordset;
begin
ADOConnection1.Open;
ADOConnection1.Execute('SET @P2=0;');
ADOConnection1.Execute('CALL proc_Test(2,@P2);');
r:=ADOConnection1.Execute('SELECT @P2;');
ShowMessage(IntToStr(R.Fields[0].VALUE));
end;

Options: ReplyQuote


Subject
Written By
Posted
Re: StoredProcedure in DELPHI 7
May 08, 2006 08:07AM


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.