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

in first case it would response and it will show error and
in second case it will show object belonging to first row
and column

Is This Answer Correct ?    4 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can two different columns be merged into single column? Show practically?

1043


Suppose we have a table "MyTable" containing 10 rows, what query should be executed to update the odd rows "Salary" as 9000?

968


What is ms sql server service broker?

967


Explain about remote stored procedure?

993


What is co-related sub query?

1007


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

978


What is the usage of the sign function?

1079


How can you check the version of sql server?

1079


What is a functions and types in sql server?

1063


How to insert new line characters into strings?

970


How to find related tables in sql server?

912


What are the instances when triggers are appropriate?

967


How to make remote connection in database?

991


If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

1019


What is fill factor and pad index?

996