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 is the difference between count and distinct count?

869


How to delete duplicate rows in sql server?

1084


what are the important architecture components of SSRS?

138


How can you list all the columns in a database?

912


What is the downside of using udf?

1091


How to create a view using data from another view?

938


Can you pass expressions to stored procedure parameters?

1009


Explain ms sql server reporting services vs crystal reports?

901


What is 1nf normalization form?

1015


Can we deploy SSRS reports on our personal website?

168


Is it possible for a stored procedure to call itself or recursive stored procedure?

931


Do you know what is normalization of database? What are its benefits?

1092


How to delete database objects with "drop" statements in ms sql server?

1065


How are the unique and primary key constraints different?

1045


Explain about Joins?

969