Наши преимущества

DBExpress and Oracle Packages

medreis

Турист
Credits
0
Hello,

what's the better way to execute/use package in Delphi/dbexpress component ?

My package have procedures or functions that return true or False, cursor or have parameters with " out " clause and I want use this parameters in my application.

Simple test;

Package.fReturnSales ( pIdSales in varchar2,
pcodError out varchar2,
pResultCursor out Cursor ) return Boolean is
begin
open cursor into pResultCursor;
if Found then
return(true);
else
pcodErro:= xxxx;
return(false);
end;
end;

Tanks
Marcio Eduardo
 
Верх