Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



If 100 tables are there in user_tables.I want to find in which table zero records are there with t..

Answer / kavitha

select table_name,num_rows from user_tables
where num_rows = 0

Is This Answer Correct ?    24 Yes 4 No

If 100 tables are there in user_tables.I want to find in which table zero records are there with t..

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

Post New Answer

More SQL PLSQL Interview Questions

can i call procedure in package

3 Answers   TCS,


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

0 Answers  


Can we insert in sql function?

0 Answers  


Does mysql support pl sql?

0 Answers  


What is trigger in pl sql with examples?

0 Answers  


what is the difference between join and union? : Sql dba

0 Answers  


how to calculate the difference between two dates? : Sql dba

0 Answers  


Are there any features that are decommissioned in 11g that are not present in 11g?

0 Answers  


What is bind reference and how can it be created?

0 Answers  


What is a data definition language?

0 Answers  


What are the 3 types of behavioral triggers?

0 Answers  


What is the difference between sql/pl-sql/embeded sql?

3 Answers  


Categories