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

What is a livelock?

942


How to disable stored procedure sql server?

1585


how can you check the level of fragmentation on a table? : Sql server administration

951


Explain cross join or cartesian product in sql?

875


What are the differences between DDL, DML and DCL in SQL?

1204


What are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture

979


What is RAID? What are the different types of RAID configurations?

1103


wat wil hapn if we give the both read and deny read permission to user?

2090


How do I save a stored procedure in sql server?

966


What are rows and columns?

997


what are the steps you will take to improve performance of a poor performing query? : Sql server database administration

906


What happens if you are trying to access a schema not owned by you?

955


What encryption security is available in sql azure?

101


Do I need a report server to run reports in my application?

163


How to get nth highest salary from employee table.

1148