set serveroutput on Unsupported Command
create or replace package Test_Package_Func_Proc 
as 
 function  test_func  (in_val in number) return number; 
 procedure test_proc (in_val in number); 
end; Package created.
create or replace package body Test_Package_Func_Proc 
as 
 function test_func (in_val in number) return number  
 is 
 begin 
 return in_val; 
 exception 
  when others then 
    RAISE; 
 end; 
 
 procedure test_proc  (in_val in number) 
 is 
 begin 
 dbms_output.put_line (in_val); 
 exception 
  when others then 
    RAISE; 
 end; 
end; Package Body created.
select test_package_func_proc.test_func(1) from dual | TEST_PACKAGE_FUNC_PROC.TEST_FUNC(1) | 1 | 
|---|
execute test_package_func_proc.test_proc(2)2
drop package Test_Package_Func_ProcPackage dropped.