For example i have an output as below :
exec dbms_stats.gather_table_stats(ownname =>’ABC’,tabname=>’XYZ’, no_invalidate=> FALSE, estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE,method_opt=> ‘FOR ALL COLUMNS SIZE 1′, cascade=>
TRUE, degree=>4);
exec dbms_stats.gather_table_stats(ownname =>’ABC’,tabname=>’XYZ1′, no_invalidate=> FALSE, estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE,method_opt=> ‘FOR ALL COLUMNS SIZE 1′, cascade=
TRUE, degree=>4);
Need to get the above in two consequtive lines like below :
exec dbms_stats.gather_table_stats(ownname =>’ABC’,tabname=>’XYZ’, no_invalidate=> FALSE, estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE,method_opt=> ‘FOR ALL COLUMNS SIZE 1′, cascade=> TRUE, degree=>4);
exec dbms_stats.gather_table_stats(ownname =>’ABC’,tabname=>’XYZ1′, no_invalidate=> FALSE, estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE,method_opt=> ‘FOR ALL COLUMNS SIZE 1′, cascade=> TRUE, degree=>4);
Any advice ? Thanks