I have a script a.ksh as follow:
[vashti]<oraspcat a.ksh
sqlplus -s rsi/rsi < aaa1.sql
echo stat $?
[vashti]<orasp>
text of aaa1.sql:
exec dbms_stats.gath er_table_stats
('P0E1A00','MI_ AC_CIRBE_GEN',c ascade=>true,es timate_percent= >25);
Problem: how can i transfer the status of the execution of
dbms_stats.gath er_table_stats to the .ksh ????
[vashti]<oraspcat a.ksh
sqlplus -s rsi/rsi < aaa1.sql
echo stat $?
[vashti]<orasp>
text of aaa1.sql:
exec dbms_stats.gath er_table_stats
('P0E1A00','MI_ AC_CIRBE_GEN',c ascade=>true,es timate_percent= >25);
Problem: how can i transfer the status of the execution of
dbms_stats.gath er_table_stats to the .ksh ????
Comment