Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / System Packages
 

Call dbms_utility analyze_schema analyze schema

SQL> SQL> create table t ( x int primary key, y date )   2  organization index   3  OVERFLOW TABLESPACE  TOOLS   4  / SQL> SQL> execute dbms_utility.analyze_schema('SCOTT','COMPUTE') SQL> SQL> select table_name, num_rows, last_analyzed from user_tables where table_name = 'T'; no rows selected SQL> SQL> drop table t; SQL>