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 / nitin yadav(9229430059)

A. Will give you no record because null have no value that
means no comparision between two nulls.

B.will give all row because 1=1 condision always true for
all rows.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can sql server be linked with other servers like oracle?

966


When would you use a before or after trigger?

908


What are the properties of the transaction?

1006


Which operator do you use to return all of the rows from one query except rows are returned in a second query?

992


State a few properties of relational databases?

1128


Explain the truncate command? : SQL Server Architecture

1173


What is check constraint in sql server?

1002


How many types of functions are there in sql server?

946


What is the use of @@spid?

1001


To which devices can a backup be created and where should these devices be located? : sql server management studio

1044


Explain the architecture of ms sql reporting service?

921


What do you mean by data integrity?

1075


Explain what is “asynchronous” communication in sql server service broker?

917


Write an sql query to sort a table according to the amounts in a row and find the second largest amount.

924


What are different backups available in sql server?

1073