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 having n no of
records

Answer Posted / welcomeashwin

SELECT * FROM TABLE_NAME WHERE 1 = 2;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the built in functions of sql?

983


Can you have more than one trigger on a table?

941


how to use in conditions? : Sql dba

962


What is the difference between unique and primary key constraints?

1010


how to write date and time literals? : Sql dba

915


Can sql function call stored procedure?

959


how can we find the number of rows in a table using mysql? : Sql dba

1031


How do I add a primary key to a table?

973


What is hibernate and its relation to sql?

1068


What is partition in sql query?

950


What is mutating error?

911


what is a view? : Sql dba

1030


Explain autonomous transaction.

1095


Explain the uses of a database trigger?

985


What is the difference between view and stored procedure?

912