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 / m@ngesh

in the first query There is no records to show in output
box only show the column name Like empname, city, address
etc..
and the second query say that there is all records are to
be show.when query (1=1) will be satisfied on the table

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql server used for?

989


If the job running very slow what is the action you do

1825


Where is trigger in sql server?

990


Explain primary key in sql server?

970


How to concatenate two character strings together?

1056


how to trace the traffic hitting a sql server? : Sql server database administration

1770


What are the steps to process a single select statement?

887


How do I determine how many instances of sql server are installed on a computer?

958


What is apply operator in sql?

957


Explain the difference between function and stored procedure?

897


Indexes are updated automatically is the full-text index also updated automatically?

977


What are the acid properties?

942


Can we update data in a view?

969


In how many ways you can invoke ssrs reports?

132


Name few of the dcl commands in sql?

951