当前位置:Gxlcms > 数据库问题 > 查询oracle表和sql数据量大小

查询oracle表和sql数据量大小

时间:2021-07-01 10:21:17 帮助过:2人阅读

select t.TABLE_NAME,t.NUM_ROWS from user_tables t order by t.TABLE_NAME;--oracle

 SELECT object_name (i.id) TableName,   
       rows as RowCnt   
FROM sysindexes i   
INNER JOIN sysObjects o   
    ON (o.id = i.id AND o.xType = ‘U ‘)   
WHERE indid < 2   
ORDER BY TableName  --mssql

查询oracle表和sql数据量大小

标签:

人气教程排行