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
Define Business Edition in SQL Azure?
How to generate create view script on an existing view?
Explain “not null constraint” in sql server?
what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration
Can We Use Data-grids For Our Report In Ssrs?
What are subqueries in sql server?
What are different backups available in sql server?
In which files does sql server actually store data?
How do you test your database? : sql server database administration
What is the order by used for?
Explain temporary table vs table variable by using cursor alternative?
What is BCNF? How is it better than 2NF & 3NF?
difference between Clustered index and non clustered index ?
Explain database normalization?
Explain trigger and trigger types?