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

explain the storage models of olap? : Sql server database administration

1018


How to use go command in "sqlcmd"?

1277


What is role playing dimension with two examples? : sql server analysis services, ssas

1060


What is an entity-relationship diagram (erd)?

1330


What is difference between inner join and full join?

1123


explain extended properties

1045


What is table value parameters (tvp)?

1158


What is sql server locking?

1038


What is the return type of executeupdate ()?

957


Explain use of expression builder.

1071


Name and describe few console utilities for ssrs?

288


What is the difference between a stored procedure and a user defined function?

1069


Explain the truncate command?

1047


How many types of schemas are there?

1102


How to select some specific columns from a table in a query in ms sql server?

1059