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

Where are stored procedures in sql server?

1069


What does null mean?

991


what is the system function to get current user's user id? : Sql server database administration

1008


How to concatenate two character strings together?

1125


What are secondary xml indexes?

1028


What is msdb database? : SQL Server Architecture

1137


How to insert data into an existing table?

981


What are the new features introduced in SQL Server 2000 (or the latest release of SQL Server at the time of your interview)? What changed between the previous version of SQL Server and the current version?

1078


What is log shipping?

963


What is SQL Azure Data sync?

121


What are basics of policy management?

1106


What are the export options of ssrs?

173


What is the command used to recompile the stored procedure at run time?

1083


What happens if null values are involved in boolean operations?

987


Explain active/passive and active/active cluster configurations?

1061