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 / anil patel

a. select * from Emp where null = null;

null= null is always false os no rows returns.

b. select * from Emp where 1=1;

it returns all rows

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define Unique Key?

937


Difference between report and query parameter. Why do we need different type of parameter?

901


What are the 2 types of classifications of constraints in the sql server?

1041


What are the advantages of using third-party tools?

916


Do you know what are different types of replication in sql server?

1031


Can we use trigger new in before insert?

864


What is difference between inner join and full join?

1004


Suppose i have a table that contains 5 columns like col1,col2...colm5.I want to import only two column through BCP utility.How to do same through BCP in sybase.

2330


What do you understand by mirroring?

951


What are different backups available in sql server?

994


List the different types of joins?

924


What is a transact-sql statement batch in ms sql server?

944


What is the difference between varchar and varchar types?

998


What is self contained scalar sub query?

924


How you can change the database name in SQL SERVER?

1129