create or replace function TestFunc(strParam in nvarchar2)
return nvarchar2
is
strRet MyTable.name%TYPE;
begin
strRet := ''; select name into strRet From MyTable Where ID = strParam;
return strRet;
exception when others then return null;
end TestFunc;
return nvarchar2
is
strRet MyTable.name%TYPE;
begin
strRet := ''; select name into strRet From MyTable Where ID = strParam;
return strRet;
exception when others then return null;
end TestFunc;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货