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(nitin.yadav.india@

u can not compare two nulls

null means nothing.so
ANS 1:no row
ANS 2:All row (because of 1=1 is always true for all rows)

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are parameterized reports?

204


What are the database objects? : SQL Server Architecture

1058


List out what other servers you can use with ssrs?

139


How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?

1098


What are different type of Collation Sensitivity?

1011


What is a file group?

1100


What is dbcc? Give few examples.

1044


Why use “nolock” in sql server?

1064


IF more than one Site is accessing the same Database server and I want to move the DB with Minimum down time? How will you do

1808


How to verify a login name with sqlcmd tool?

1231


If a table does not have a unique index, can a cursor be opened on it?

921


What are the difference between data mart and data warehouse? : sql server analysis services, ssas

969


how many triggers you can have on a table? : Sql server database administration

987


What is @@error in sql?

1073


What are the steps you should follow to start sql server in single-user mode?

905