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

What is the maximum length of an alert name?

1039


as a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this? : Sql server administration

1019


You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?

319


Why use “nolock” in sql server?

1139


How to set database to be read_only in ms sql server?

1054


What is difference between cte and view?

979


What are the differences between clustered and non-clustered index?

1081


Write the queries for commands like Create Table, Delete table, Drop Table etc.

1171


What is the use of custom fields in report?

1043


What are trace flags and mention a few common trace flags used with sql server?

1142


Can we insert data into a view?

1195


What is the main purpose of having conversation group?

958


What is database mirroring?

1176


What is the difference between truncate and delete commands?

1110


How can I know what locks are running on which resource?

999