oracle 常用的幾個SQL
更新時間:2009年11月30日 20:23:50 作者:
oracle幾個常用的SQL
1 查找記錄條數(shù) select count(*) from table_name(換成表名)
2 查找表數(shù)據(jù)大小
select num_rows * avg_row_len
from user_tables
where table_name = 'table_name(換成表名)';
更多可以參考下http://www.dbjr.com.cn/article/7827.htm
2 查找表數(shù)據(jù)大小
select num_rows * avg_row_len
from user_tables
where table_name = 'table_name(換成表名)';
更多可以參考下http://www.dbjr.com.cn/article/7827.htm
相關(guān)文章
oracle中utl_file包讀寫文件操作實例學(xué)習(xí)
在oracle中utl_file包提供了一些操作文本文件的函數(shù)和過程,接下來和大家一起學(xué)習(xí)他的基本操作,感興趣的你可以參考下哈希望可以幫助到你2013-03-03oracle中add_months()函數(shù)及用法總結(jié)
這篇文章主要介紹了oracle中add_months()函數(shù)及用法總結(jié),非常不錯,具有一定的參考借鑒價值,需要的朋友可以參考下2019-08-08oracle數(shù)據(jù)庫中查看系統(tǒng)存儲過程的方法
這篇文章主要介紹了oracle數(shù)據(jù)庫中查看系統(tǒng)存儲過程的方法,需要的朋友可以參考下2014-06-06oracle 合并查詢 事務(wù) sql函數(shù)小知識學(xué)習(xí)
oracle 合并查詢 事務(wù) sql函數(shù)小知識學(xué)習(xí),需要的朋友可以參考下2012-12-12Oracle undo_management參數(shù)不一致錯誤
因RAC的undo_management參數(shù)不一致導(dǎo)致Oracle數(shù)據(jù)庫mount報ORA-01105 ORA-01606錯誤,本文就這個問題2013-11-11