Oracle查询库中记录数大于2千万的所有表


假如当前用户拥有select any table权限,则可以使用下列sql语句:
select table_name, num_rows from dba_tables t where t.owner = upper('hr') and num_rows > 20000000;

select table_name, num_rows from all_tables t where t.owner = upper('hr') and num_rows > 20000000;

相关文章:

  • 2022-12-23
  • 2021-10-05
  • 2022-01-12
  • 2022-12-23
  • 2022-03-09
  • 2021-09-21
  • 2021-06-25
  • 2021-09-04
猜你喜欢
  • 2022-01-10
相关资源
相似解决方案