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 |
What is the difference between in and between in sql?
Is pl sql a scripting language?
What is the difference between having and a where in sql?
what is query cache in mysql? : Sql dba
how to show all tables with 'mysql'? : Sql dba
What is sql exception?
What are the blocks in stored procedure?
Is grant a ddl statement?
what are properties of a transaction? : Sql dba
How will you make performance better for application including front end and back
How is debugging done?
How can we Get the Updated Rows? ie, There is 100s of Rows i updated the Rows who have salary 5000. then i want to select the Updated Rows. How can we achieve it?