Hi all,
Nice day all !
My func:
PHP Code:
CREATE OR REPLACE FUNCTION fn_test(xx character varying)   
  
RETURNS attr____x AS  
$BODY$  
declare  
  
rs attr____x;  
begin  
  select  
      multiset  
      
(  
        
select t.id  
        from test t  
        where t
.temp xx  
      
) as attr____x  
     into rs   
  from   
  dual
;  
  return 
rs;  
end
When I call func: select fn_test('abc') ;
It raise errors:

Code:
No function matches the given name and argument types. You might need to add explicit type casts.  
Function multiset(numeric) does not exist
I cant solve my problems. Can edb-er share me some ideas or solutions ?
Thanks !!!
Regard

Luân !