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

can a table be moved to different filegroup? : Sql server administration

955


what do you understand by change data capture?

984


What is check constraint in sql server?

990


what is database replicaion? What are the different types of replication you can set up in sql server? : Sql server database administration

970


What is the purpose of update statistics and scope_identity() function?

1088


What is table constraint?

983


Explain the steps to use transact-sql cursor?

1040


What are subqueries in sql server?

1107


What do you understand by physical_only option in dbcc checkdb?

973


Is null vs coalesce?

862


What is ms sql server triggers?

999


What is an indice?

1022


Define Unique Key?

991


Can you name a few encryption mechanisms in sql server?

933


Write a sql query to display the current date?

1083