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

what is the out put of below queries?
a. select * from Emp where null = null;
b. select * from Emp where 1=1;

Answer Posted / poonam

First Query : will return all columns name without any data.
Second Query :will display all the records which are available in the table.bez Select* from emp where 1=1; the condition is true.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain following error properties?

955


How many types of subqueries are there in sql server?

934


What is scrollable cursor?

985


What do you mean by data integrity?

996


What is optimistic concurrency?

978


What are the types of sql server?

988


What are the kinds of subquery?

951


How do you open a cluster administrator?

1002


What is the data tier application?

169


What is difference between primary key and foreign key?

834


What is report snapshot?

142


How to find table changes in sql server?

1050


What is table-valued sub query?

921


Where can you add custom error messages to sql server?

1054


What is the difference between clustered and non-clustered indexes in ms sql server?

937