oracle导出空表

批量处理空表        首先使用下面的sql语句查询一下当前用户下的所有空表: select table_name from user_tables where NUM_ROWS=0; 然后用一下SQL语句执行查询: select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0
相关文章
相关标签/搜索