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

a) first statement return only table structure (with out
data)
Eg: empid empname

b) second statement return the structure with data.

Eg: empid empname
101 radha
102 krishnan

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if null values are involved in bitwise operations?

1019


How does the report manager work in SSRS?

148


Explain data warehousing in sql server?

1045


Where do you find the default Index fill factor and how to change it?

1059


Write a SQL query to make a column as unique?

1031


How to stop log file growing too big?

1012


How to call stored procedure using http soap?

1074


what is a check constraint?

1106


How we create SQL Server 2005 Reporting Services ? Give me Sample

1986


What is purpose of normalization?

946


How can sql server instances be hidden? : sql server security

1142


Difference between connected and disconnected database in .net with sql server?

1094


Explain filtered indexes?

997


What are parameterized reports?

200


What are pessimistic lock and optimistic lock?

1072