what operator performs pattern matching?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / deepak
Pattern matching is used to get the information without
mentioning the full name and by just using the LIKE operator
and just mention the starting letter.
| Is This Answer Correct ? | 1 Yes | 0 No |
What are the differences between user defined functions and stored procedures?
What is the use of custom fields in report?
How you can minimize the deadlock situation?
What are the 3 types of schema?
What is the purpose of using COLLATE in a query?
What is the difference between clustered and non-clustered indexes in ms sql server?
what is difference between primary key and Unique
What purpose does the model database server?
how can u select the Distinct values in the table, table having 20 columns , i want all columns
What is clustered vs nonclustered index?
When you use @@error and try-catch?
Explain what are various ways to enhance the ssrs report?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)