oracle 常用的幾個SQL
更新時間:2009年11月30日 20:23:50 作者:
oracle幾個常用的SQL
1 查找記錄條數 select count(*) from table_name(換成表名)
2 查找表數據大小
select num_rows * avg_row_len
from user_tables
where table_name = 'table_name(換成表名)';
更多可以參考下http://www.dbjr.com.cn/article/7827.htm
2 查找表數據大小
select num_rows * avg_row_len
from user_tables
where table_name = 'table_name(換成表名)';
更多可以參考下http://www.dbjr.com.cn/article/7827.htm