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 / nitin yadav(9229430059)

A. Will give you no record because null have no value that
means no comparision between two nulls.

B.will give all row because 1=1 condision always true for
all rows.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between delete and truncate statements?

1137


how to invoke a trigger on demand? : Sql server database administration

1162


Difference between group by clause and having clause in SQL?

1033


What are the three different part of rdl file explain them?

276


What is implicit cursors?

1146


How will you monitor replication latency in transactional replication? : sql server replication

1221


What are the restrictions that views have to follow?

1040


What is the difference between NOROW and LOCKROW?

2912


Explain the different types of backups available in sql server? : sql server database administration

996


What are different types of database indexes?

1183


how to create a scrollable cursor with the scroll option? : Sql server database administration

1159


How to check if a table is being used in sql server?

1022


How to name query output columns in ms sql server?

1025


Is oracle faster than sql server?

1011


What are scheduled tasks in sql server?

1163