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


sql query to get zero records from a table

Answers were Sorted based on User's Feedback



sql query to get zero records from a table..

Answer / kishor

Select * from table where 1 = 2

Is This Answer Correct ?    29 Yes 2 No

sql query to get zero records from a table..

Answer / biswajit ghosh

SELECT * from TABLE
WHERE 1 = 2;

Is This Answer Correct ?    8 Yes 1 No

sql query to get zero records from a table..

Answer / vawani sankar naik

SELECT * FROM TABLE WHERE 1=2;

Is This Answer Correct ?    7 Yes 0 No

sql query to get zero records from a table..

Answer / nathan

Select count(*) from emp where 1 = 2

Is This Answer Correct ?    0 Yes 0 No

sql query to get zero records from a table..

Answer / nanne

Your Question is not clear..i believe that your expecting retrieve the tables which are having zero rows in the database.

Yes...we can retrieve the zero rows tables from DB

Select * from dba_tables
where num_rows = 0;

Regards,
Nanne

Is This Answer Correct ?    0 Yes 0 No

sql query to get zero records from a table..

Answer / vipul.solanki

select * from menu_master where rownum <1;

Is This Answer Correct ?    1 Yes 2 No

sql query to get zero records from a table..

Answer / neha_gupta

select null from emp

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More Oracle General Interview Questions

What is the effect of setting the value "ALL_ROWS" for OPTIMIZER_GOAL parameter of the ALTER SESSION command ?

1 Answers  


How do I start tns listener?

0 Answers  


Why use resource manager in Oracle?

0 Answers   MCN Solutions,


What is tablespace in oracle? how can we create? how is it manage? . . . Thnx 2 All in Advnc....:)

3 Answers  


What suggestions do you have to reduce the network traffic?

0 Answers  


What is Index Cluster ?

2 Answers  


How many data types are supported?

0 Answers  


21. Using a set operator, display the client number of all clients who have ever placed an order and whose whose name does not contain the string Sm.

0 Answers   Wipro,


What are the restrictions in a oracle read only transaction?

0 Answers  


How to convert a string to a date in oracle database?

0 Answers  


What are nested tables?

0 Answers  


Define oracle database

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)