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 / kavitha

select table_name,num_rows from user_tables
where num_rows = 0

Is This Answer Correct ?    24 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an implicit commit?

560


Does sql view stored data?

537


What is an invalid partition table?

566


Does group by remove duplicates?

553


What is the difference between clustered and non-clustered indexes?

603






Does oracle use sql?

516


What are different functions in sql?

519


Show how functions and procedures are called in a pl/sql block.

588


how can I make a script that can be bi-language (supports english, german)? : Sql dba

538


How can I tell if sql is running?

590


Does truncate table reset auto increment?

528


what are local and global variables and their differences? : Sql dba

542


Which is better stored procedure or query?

548


Where the sql database files are stored?

495


What is the purpose of a secondary key?

513