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 the difference between python and sql?

940


Which data dictionary views have the information on the triggers that are available in the database?

1182


How many types of relationship are there?

976


what is sql profiler? : Sql dba

997


Why does sql need a server?

992


Where is pl sql used?

906


What is row_number () in sql?

935


In what condition is it good to disable a trigger?

971


How are functions and procedures called in PL/SQL?

1132


What is a schema? How is it useful in sql servers?

1044


How do you concatenate in sql?

975


how to get help information from the server? : Sql dba

877


What is the difference between an inner join and an outer join?

971


What is clause?

1067


What is string data type in sql?

1055