How do u count no of rows in a table?

Answer Posted / prabhudatta barick

Please ignore my first answer...

as By default this job runs within a maintenance windows
between 10 P.M. to 6 A.M. week nights and all day on
weekends.

to get the exact record please use this

ANALYZE TABLE <table_name> COMPUTE STATISTICS;

SELECT num_rows
FROM dba_tables
WHERE table_name = '<TABLE_NAME>';

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need view in sql?

547


What are triggers in sql?

581


What is sql dialect?

529


What is the importance of sqlcode and sqlerrm?

849


How many times can we commit in a loop?

566






How does postgresql compare to oracle/db2/ms sql server/informix?

567


Is inner join same as self join?

580


What are some emotional triggers?

570


What's the procedure?

492


What are procedures used for?

529


How do I debug a stored procedure?

629


What is the most important ddl statements in sql are?

523


What is difference between my sql and sql?

530


Why we use sql profiler?

562


How do I run pl sql in sql developer?

630