sql - SELECT Only the words that are capitalized -


i have column called cities, column has data following:

 city 1  city 1           city 1  

i want select city (capitalized)

this not doing job:

select * location cities 'city 1' 

this giving me city 1 includes city 1

by default, sql server use case insensitive collation.

select *  location  cities 'city 1'  collate latin1_general_cs_ai 

mark comparison operator case-sensitive collation apply case sensitive filter


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -