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 / poonam

First Query : will return all columns name without any data.
Second Query :will display all the records which are available in the table.bez Select* from emp where 1=1; the condition is true.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain transaction server implicit?

1029


You want to implement the many-to-many relationship while designing tables. How would you do it?

1056


What are indexes in ms sql server?

1135


What are four major operators that can be used to combine conditions on a where clause?

1100


What are the new security features added in sql server 2012? : sql server security

1113


why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it? : Sql server administration

1143


Ms sql server index?

1115


Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

1235


What is the downside of using udf?

1180


What is the cartesian product of table?

1081


Write a query for primary key constraint with identity key word?

1089


Who is the owner of a schema in ms sql server?

1131


Do you know the isolation level that sql server support?

1007


How to enter date and time literals in ms sql server?

1082


What are different types of table joins?

1063