select hscon.hs_sqlma.get_awrreport(202102220024,1) from dual;--awr报告

执行完报错

 

 

command窗口,执行ed hs_sqlma进入包体;

 

 发现赋权问题;

赋权后执行无误;