I am working on a script which rebuilds indexes and gathers stats. In SAP BODS, the following statement does not show any errors but when I run the job it's failing with the following error message. I am using the below statement -
SQL('DS_PCM', 'begin dbms_stats.gather_schema_stats(ownname=> ADMINEPO, estimate_percent => 30, cascade => TRUE, degree => 4)');
Can someone help here?