就一条语句
- select table_name,num_rows from user_tables
在user_tables后面可以添加符合自己的条件,当然如果你有dba权限的话,可以将user_tables换成dba_tables,num_rows列并不是事实更新的,查新之前最好先ANALYZE下 analyze table 这里写表名compute statistics;
转载于:https://blog.51cto.com/sucre/495597
就一条语句
在user_tables后面可以添加符合自己的条件,当然如果你有dba权限的话,可以将user_tables换成dba_tables,num_rows列并不是事实更新的,查新之前最好先ANALYZE下 analyze table 这里写表名compute statistics;
转载于:https://blog.51cto.com/sucre/495597