If 100 tables are there in user_tables.I want to find in which
table zero records are there with table name.Is it possible?

Answer Posted / arpan

Use the column "blocks" from the view user_tables. eg:
select * from user_tables u where u.blocks = 0;

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?

3101


When are we going to use truncate and delete?

549


how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba

639


how to check server status with 'mysqladmin'? : Sql dba

566


What is dense_rank in sql?

539






Define union, minus, union all, intersect ?

551


What is integrity in sql?

552


How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000

1636


Where is sql database stored?

514


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

530


How do I pipe the output of one isql to another?

530


What is scope of pl sql developer in future?

589


What is the purpose of the sql select top clause?

547


Why having clause is used in sql?

534


Where the sql database files are stored?

481