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 / m@ngesh

in the first query There is no records to show in output
box only show the column name Like empname, city, address
etc..
and the second query say that there is all records are to
be show.when query (1=1) will be satisfied on the table

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of using third-party tools?

998


Do you think BCNF is better than 2NF & 3NF? Why?

1278


 Explain what is sql override for a source taLle in a mapping?

1012


What is “begin trans”, “commit tran”, “rollback tran” and “savetran”?

1027


What is the difference between clustered and a non-clustered index?

1030


Explain the difference between functions and stored procedures in sql server?

982


What is the difference between for trigger and after trigger?

1109


Can You Use A Stored Procedure To Provide Data To An Ssrs Report?

145


Difference between group by clause and having clause in SQL?

977


what is checksum in sql server.........???

1690


What happens if an integer is too big for int date type?

978


What do we need queues in sql service broker?

1066


Which language is supported by sql server?

1017


Do you know what is xpath?

1091


What is deploy, process and build? : sql server analysis services, ssas

1112