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 |
Define outer join in sql server joins?
Define full outer join?
UPDATE statement can on a single table or on the multiple table?
What are magic tables in sql server?
What stored procedure would you use to view lock information?
Write an SQL query if u want to select the data from one block which intern reflects in another block ? thanx,do reply
hi. suppose one person goal is strong knowledge on SQL.... suggest me ...if he learns SQL SERVER or ORACLE? which is best?
7 Answers Google, TCS, Unisys,
what is nonclustered index
What is the use of MOVE keyword in restore command
system date format is "yy-mm-dd" "select getdate()" ----> 2009-01-24 20:03:28.513 if i write "select dateadd(dd,2,getdate()) ".it returns "2009-01-26 19:59:38.340"...my question is dat could it be possible to retrive da date in da format "26 jan 2009 ...."??
How to convert a unicode strings to non-unicode strings?
How to create Clustered Primary Key to table?