adspace


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

If a cursor is open, how can we find in a pl/sql block?

1253


What is the current version of sql?

1108


What is your daily office routine?

2354


Does group by remove duplicates?

1124


what are the advantages of sql ? : Sql dba

1155


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2103


define sql insert statement ? : Sql dba

1111


what is collation? : Sql dba

1243


Is primary key always clustered index?

1102


Can we use distinct and group by together?

1150


how many tables will create when we create table, what are they? : Sql dba

1158


how to start mysql server? : Sql dba

1280


how to escape special characters in sql statements? : Sql dba

1127


Is primary key clustered index?

1029


what are aggregate and scalar functions? : Sql dba

1145