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 what is it unwise to create wide clustered index keys?

926


How to create percentile function?

139


How to list all tables in the database using odbc_tables()?

977


Can primary key be null?

875


We are updating a field in sql and alter the row also.after giving the commit command the system is crashed.what will happen to the commands given,whether it will update and alter the table or not?

1325


How can you control the amount of free space in your index pages?

1006


What types of Joins are possible with Sql Server?

1055


What is delete query?

893


Explain the use of containers in ssis?

889


Can you pass expressions to stored procedure parameters?

966


How to retrieve error messages using mssql_get_last_message()?

987


Explain the stored procedure?

985


What is an execution plan? When would you use it?

917


What is inner join in sql server joins?

974


What is the difference between resultset and resultsetmetadata?

886