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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we rollback truncate?

1088


how to use regular expression in pattern match conditions? : Sql dba

1126


Is primary key always clustered index?

1102


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

1158


What is your daily office routine?

2354


what are aggregate and scalar functions? : Sql dba

1145


what is bcp? When does it used? : Sql dba

1066


What is the current version of sql?

1108


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


what are the advantages of sql ? : Sql dba

1155


Is primary key clustered index?

1029


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

1253


Is inner join faster than left join?

1289


what is schema? : Sql dba

1167


Can delete statement be rollbacked?

1066