欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

oracle 常用的几个SQL

程序员文章站 2023-12-05 07:58:21
1 查找记录条数 select count(*) from table_name(换成表名) 2 查找表数据大小 select num_rows * avg_row_len...
1 查找记录条数 select count(*) from table_name(换成表名)

2 查找表数据大小

select num_rows * avg_row_len
from user_tables
where table_name = 'table_name(换成表名)';

更多可以参考下