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

how to take backup bcp out for a column in table in sql server?

2145


What is the difference between seek predicate and predicate?

1111


How to invoke a trigger on demand?

1153


Why we use the openxml clause?

1057


Can a database be shrunk to 0 bytes, if not, why?

1167


explain different types of cursors? : Sql server database administration

1148


What are the mathematical functions supported by sql server 2005?

1128


How to list all tables in the database using odbc_tables()?

1120


Why use identity in sql server?

1173


How retrieve field names from the table in SQL through JAVA code?

1959


You notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it?

1163


How self join is different from outer join?

1180


Do you know what is sql service broker?

1166


How to create an index on an existing table in ms sql server?

1028


What is an index in sql?

1070