0
創建分區並將行添加到oracle中的表之後。 NUM_ROWS沒有顯示預期的答案?num_rows顯示預期的答案?
SQL> SELECT num_rows, partition_name,table_name FROM DBA_TAB_PARTITIONS
WHERE table_name='AUDITS';`
NUM_ROWS PARTITION_NAME TABLE_NAME
---------- ------------------------------ ------------------------------
P2 AUDITS
P3 AUDITS
SQL> SELECT count(*) FROM audits;
COUNT(*)
----------
98
SQL>
`