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

Difference between drill down and drill through report.

1007


how many no of arguments can be passed in procedures and functions

5642


Using the customer, and order table in northwind database, please write a query to produce xml?

1119


If you are given access to a SQL Server, how do you find if the SQL Instance is a named instance or a default instance?

1177


How to count duplicated values in a column in ms sql server?

1171


How to find the service pack installed? : sql server database administration

1065


How many clustered indexes there can be on table ?

1073


How we can refresh the view?

1161


What happens if ntwdblib.dll is missing on your machine?

1189


How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?

1171


What happens when converting big values to numeric data types?

1229


Explain mixed authentication mode of sql server?

1120


What is inner join? Explain with an example?

1287


How can delete duplicate records in cte in sql server?

1018


What are types of scd? : sql server analysis services, ssas

1081