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
What is cross join example?
Can we create table in function?
Is the primary key an index?
How to avoid duplicate records in a query?
Can pl sql procedure have a return statement?
How do I access sql anywhere database?
How many types of sql are there?
Can we join same table in sql?
What is optimistic concurrency control? : Transact sql
What is on delete restrict?
What is pl sql variable?
What can sql server reporting services do?
write an sql query to find names of employee start with 'a'? : Sql dba
Why is sql important?
Is it possible to create the following trigger: before or after update trigger for each row?