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 / gowthami radhakrishnan

a)in the first case there is no output only the column
names alone is displyed

b)in this case all rows will be displayed even for
1=1,2=2,3=3,..........

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If no size is defined while creating the database, what size will the database have?

923


How do you open a cluster administrator?

1002


Mention the different authentication modes in sql server.

962


What are the dis_advantages of stored procedures, triggers, indexes?

2170


Data is not being delivered to subscribers, what can be the possible reasons? : sql server replication

981


What is plan freezing?

909


How to replace the Query Result 'Null Value' with a text ?

971


How do you set a trace flag in sql server?

996


Why we use trigger in sql server with example?

917


What does it mean to normalize a database and why would you do it?

937


Write a query to include a constraint, to check whether the employee salary is greater than 5000?

1548


What is SubQuery in SQL Server 2008

963


How to execute a stored procedure in ms sql server?

1069


How to retrieve error messages using odbc_errormsg()?

990


Explain various data region available in ssrs with their use?

875