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

What is an index in a database?

979


What according to you is the difference between mysql and sql server performance?

1083


What are key constraints?

970


How do you set a trace flag in sql server?

1034


How do I find the port number for sql server?

969


What is SQL Azure Federations?

112


What is impersonation? What are the different impersonation options available in ssas? : sql server analysis services, ssas

972


Explain about builtinadministrator?

1051


State the difference between local and global temporary tables?

1116


Is INSTEAD OF trigger directly applicable to Table ?

1013


Explain the steps needed to create a scheduled job?

928


In what version of sql server were synonyms released?

940


Explain various On-Delete options in a DB table. Which is the default option?

1465


Do you know nested transaction?

955


What do I need to start working with sql studio? : sql server management studio

1110