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?
Answers were Sorted based on User's Feedback
Answer / kavitha
select table_name,num_rows from user_tables
where num_rows = 0
Is This Answer Correct ? | 24 Yes | 4 No |
Answer / 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 |
Is sql free?
Is t sql a programming language?
Difference between truncate, delete and drop commands?
explain advantages of myisam over innodb? : Sql dba
What does the acronym acid stand for in database management?
What is indexes?
What is a Procedure ?
What are hotfixes and patches?
What is the primary use of normalization?
How many types of sql are there?
What are the string functions in sql?
how to convert numeric values to character strings? : Sql dba