select table_name from user_tables where NUM_ROWS=0; select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0;