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 a join? : Sql dba

764


How can we solve sql error: ora-00904: invalid identifier?

881


What has stored procedures in sql and how we can use it?

758


What is on delete set null?

761


what are the different type of normalization? : Sql dba

759






Explain the methods used to protect source code of pl/sql.

731


what are null values? : Sql dba

704


which operator is used in query for pattern matching? : Sql dba

754


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

796


What is join view in sql?

696


What does pragma mean?

706


what are the drivers in mysql? : Sql dba

728


what is row? : Sql dba

926


Can function return multiple values in sql?

726


What is the use of partition by in sql?

706