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 are all the difference between Like and Contains ?

Answer Posted / santosh acharya

Select * from myTable where textField like '%Cats and Dogs%'

Select * from myTable where CONTAINS(textField, '"Cats and
Dogs"')

Both options will only return rows that contain the exact
phrase "Cats and Dogs", neither will return records that
contain either "Cats" or "Dogs" in them.

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe different types of general function used in sql?

1092


What normalization means?

1015


Which are sql * plus commands?

1203


When sql appeared?

1148


What is string data type in sql?

1216


What are sql functions? Describe in brief different types of sql functions?

1180


What are the advantages of pl sql?

1166


How do I send sql query results to excel?

1113


Enlist the data types that can be used in pl/sql?

1111


how many ways to get the current time? : Sql dba

1048


Does pdo prevent sql injection?

990


Is null operator in sql?

1092


What is dml with example?

1155


What is the difference between explicit and implicit cursors in oracle?

1115


where are cookies actually stored on the hard disk? : Sql dba

1079