时间:2021-07-01 10:21:17 帮助过:24人阅读
create or replace function public_f_get_bsc012
(
v_id in varchar2
)
return varchar2
as
v_temp varchar2(200);
begin
select bsc012 into v_temp from sc05 where bsc010=v_id;
return v_temp;
exception when others then
return '';
end ;
初学,以上是oracle函数,在mysql上一直没写对,求大侠指教