create or replace function fun_testa(aa varchar2) return long raw is Result long raw; begin return null; return(Result); end fun_testa; 这样是可以编译通过的!
编译是可以通过,不过在调用时提示错误: select get_long('123') from dual;ERROR 位于第 1 行: ORA-06502: PL/SQL: numeric or value error: raw variable length too long ORA-06512: at line 1该怎么办呀!
Result long raw;
begin
return null;
return(Result);
end fun_testa;
这样是可以编译通过的!
select get_long('123') from dual;ERROR 位于第 1 行:
ORA-06502: PL/SQL: numeric or value error: raw variable length too long
ORA-06512: at line 1该怎么办呀!