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 are character functions in sql?
oracle is compiler or interpretter,can any one tell me the answer?
How do you identify a primary key?
What is the location of pre_defined_functions.
what is the difference between stored procedure and packaged procedure
What is difference sql and mysql?
What is nvarchar in sql?
there are .......different types of serializability
what is difference between procedure and function, procedure and trigger?
What is nosql vs sql?
what is a relationship and what are they? : Sql dba
Are sql connections encrypted?