Answer Posted / prabhudatta barick
Automatic Optimizer Statistics Collection
By default Oracle 10g automatically gathers optimizer
statistics using a scheduled job called GATHER_STATS_JOB.
As it gathers table statistics automatically
so no need to gather table statistics before
running this query.
SELECT num_rows
FROM dba_tables
WHERE table_name = '<TABLE_NAME>';
This will give u the total no. of records in a table....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do I start pl sql?
what are the types of join and explain each? : Sql dba
how can we know the count/number of elements of an array? : Sql dba
What is the maximum number of columns in sql table?
What is difference between procedure and trigger?
What is schema in sql?
How many types of indexes are there in sql?
What is sqlcommand?
Is sqlite thread safe?
how to get a list of indexes of an existing table? : Sql dba
What is program debugging?
What are the operators used in select statements?
What is mdf ldf and ndf?
List the various privileges that a user can grant to another user?
What is pl sql in dbms?