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 / phani

In First case it will not return any rows. only the colum
names will be displayed.

In the second case all the records that are available in
the table will be displayed.

Is This Answer Correct ?    61 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know how to implement service broker?

928


How do I view a script in sql server?

1047


What is log shipping? Can we do logshipping with SQL Server 7.0 ?

996


Can we use where and having clause together?

1048


What are the basic functions for master, msdb, model, tempdb and resource databases?

992


What is command parameter in ssrs?

164


Explain the benefits of user-defined functions?

1064


What is instead of trigger sql server?

1008


What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration

1021


Name few endpoints exposed by ssrs 2012?

355


What is bit data type?

1042


How network traffic be reduced by using the stored procedure?

1118


How to loop through result set objects using odbc_fetch_row()?

981


What are the different normalization forms?

1117


How to find the second highest salary of an employee?

1179