查詢表記錄數

oracle: oracle

SELECT table_name, nvl(num_rows,1) b FROM user_tables where TABLE_NAME = 'tablename(大寫)'; spa


db2: orm

SELECT TABNAME,CARD FROM syscat.tables WHERE OWNER = 'TOPICIS' AND TABNAME = 'tablename(大寫)';  table

相關文章
相關標籤/搜索