Need Assistance with OEM PL/SQL Block
Hi Folks
I am trying to add a scheduler job in OEM DBConsole
The PLSQL runs just fine in SQLPLUS, but when I try to incorporate it into an OEM Scheduler job it has a fit
I have no clue why it works in SQLPLUS and not in OEM
Anyone with experience with PLSQL and can assist would be appreciated, otheriwse I have to submit and SR
DECLARE
srec DBMS_STATS.STATREC;
v_distcnt NUMBER;
v_density NUMBER;
v_nullcnt NUMBER;
v_avgclen NUMBER;
numvals DBMS_STATS.NUMARRAY;
charvals DBMS_STATS.CHARARRAY;
datevals DBMS_STATS.DATEARRAY;
BEGIN
DBMS_STATS.get_column_stats (ownname => 'LLPROD',
0