TMyStoredProcedure Can Return Param?

TMyStoredProcedure Can Return Param?

Postby CHIN » Mon 29 Nov 2004 01:07

If i call stored procedure using TMyStoredProcedure,
some params is declare 'OUT' or 'INOUT', TMyStoredProcedure
can be auto return/update param?

Example:

Create Procedure MyValue(
IN InValue Int,
OUT ReturnResult)
Begin
Set ReturnResult = InValue * 10;
End
//

Call MyValue(12, @a)//
---------------------------------
CHIN
 

Re: TMyStoredProcedure Can Return Param?

Postby Ikar » Mon 29 Nov 2004 12:05

Now this ability is enabled only for Result. Full support of OUTPUT parameters most probably will be available with MySQL Server 5.0 beta release.
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56


Return to MySQL Data Access Components