without using count(*) and rownum how can we count total
record in a table

Answer Posted / rajesh

SQL> SELECT TABLE_NAME, NUM_ROWS FROM USER_TABLES WHERE TABLE_NAME='EMP';

TABLE_NAME NUM_ROWS
------------------------------ ----------
EMP 14

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the limitations oracle database 10g xe?

573


How to connect ms access to oracle servers?

552


What is the difference between primary key and unique key and foreign key in oracle?

556


How to empty your oracle recycle bin?

575


What are the differences between char and nchar in oracle?

603






Can we create trigger on materialized view in oracle?

569


How to drop an index?

548


What are the advantages of oracle 12c?

557


Using the relations and the rules set out in the notes under each relation, write statements to create the two sequence generators specified in the notes.

1653


Is primary key indexed by default in oracle?

554


Does oracle partitioning improve performance?

555


What is an index associated with a constraint?

555


What happens to the current transaction if the session is killed?

537


How to export several tables together?

572


What is clustered table in Oracle?

645