日期:2014-05-16  浏览次数:20506 次

oracle函数实例

http://www.itpub.net/thread-763392-1-1.html#

?

create or replace function isRebut(exection_ in varchar2)
return boolean is
rebutnumber number := 0;
begin
?select count(*) into rebutnumber from jbpm4_hist_task t ;
?if(rebutnumber = 1)
?then
???? return true;
?else
???? return false;
?end if;
end;

?

注意: