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 / gowthami radhakrishnan

a)in the first case there is no output only the column
names alone is displyed

b)in this case all rows will be displayed even for
1=1,2=2,3=3,..........

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can sql server 2016 run on windows 7?

965


What is db stored procedure?

945


What is the name of the system variable that returns the number of rows affected by a SQL statement?

1070


Tell me the phases a transaction has to undergo?

1019


Can we hide the definition of a stored procedure from a use?

1298


What is an active database?

1072


Explain filtered indexes benefits?

1046


Explain about the command-line tool SQLCMD?

1146


What is a trace frag?

1136


Can a trigger be created on a view?

996


How to delete duplicate records based on single column from a table?

1105


How to disable a login name in ms sql server?

1176


Where do you find the default Index fill factor and how to change it?

1117


What are the tools available in market as an alternative to sql server reporting services?

138


How to create a scrollable cursor with the scroll option?

1050