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

What is rownum and rowid?

1037


What is lexical units in pl sql?

1152


What does fetching a cursor do?

1096


Can I join the same table twice?

1054


what is offset-fetch filter in tsql? : Transact sql

955


What are all the different types of indexes?

1152


What type of database is cloud sql?

1108


What is scope of pl sql developer in future?

1026


What is rowtype?

1027


What plvcmt and plvrb does in pl/sql?

1327


Explain what is a subquery ?

1193


What is the use of procedures?

975


Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql

997


How do you take the union of two tables in sql?

989


Explain alias in sql?

1053