The same result with count(*)


Summary 
You can get the same result with count(*) with the query:
SELECT NVL(MAX(ROWNUM),0) FROM RANDOM_VALUES;

It will count rows to table RANDOM_VALUES like
SELECT COUNT(*) FROM RANDOM_VALUES;

Comments

Popular posts from this blog

Change Protection Mode for Active Dataguard (11GR2)

Reboot Exadata Machine

STEPS TO troubleshoot long running concurrent request in R12.2.x