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 operator performs pattern matching?

Answer Posted / rajendra prasad reddy penumall

'Like' operator is a pattren matching operator.

Eg;
select name from class where name like 'a%'

selecting names starting with letter 'a' and any length

select name from class where name like '_a%'
selecting names starting with second with letter 'a' and
any length.
select name from class where name like '[abc]%'
selecting names starting with first letter 'a'or 'b'
or 'c' and any length.

select name from class where name like '[^abc]%'
selecting names except starting with first letter with
letter 'a'or 'b' or 'c' and any length.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are distinctive joins find as a part of sql?

936


How you can minimize the deadlock situation?

1016


Differentiate between SQL and ORACLE joins and write their syntax.

1007


What are difference between Cluster index and Non-Cluster index?

1058


What is intellisense?

1023


What are the triggers in sql?

1071


Tell me what is difference between clustered and non clustered index?

930


What is the purpose of grouping data in a report?

937


Explain different types of Normalization.

1796


What does asynchronous call backs means?

1127


How to insert data into an existing table?

956


What is candidate key with example?

961


Where the sql logs gets stored?

966


Define candidate key, alternate key, and composite key.

906


Why use “pivot” in sql server?

1089