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

First Query : will return all columns name without any data.
Second Query :will display all the records which are available in the table.bez Select* from emp where 1=1; the condition is true.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we know if any query is retrieving a large amount of data or very little data?

955


How to concatenate two binary strings together?

1091


Where do we use trace frag?

996


What is PROJECTION Operation?

1005


How to Check if table exists in sql server?

1116


What does asynchronous call backs means?

1129


Can we write ddl in trigger?

904


Can you always create a cache of a report?

172


What are the advantages of sql azure?

140


Which rendering formats are affected by the pagesize properties?

144


Write the syntax for stuff function in an sql server?

1011


What is difference between line feed ( ) and carriage return ( )?

880


What are orphan records?

917


How do I view a procedure in sql server?

978


While migrating Microsoft SQL Server 2008 database to SQL Azure, what can be done to ensure the database connectivity does not degrade?

109