WHERE
select serverproperty('collation') as result select databaseproperty('MyDatabase', 'collation') as result
'SQL_Latin1_General_CP1_CI_AS'
CI
CS
AS
AI
select * from dbo.Documents where Contents collate SQL_Latin1_General_CP1_CS_AS like '%Brown%'
select * from dbo.Restaurants where Name collate SQL_Latin1_General_CP1_CI_AI like 'Cafe'
Restaurants
'Cafe'
'Café'
select result = REPLACE('This is an Accurate test' COLLATE SQL_Latin1_General_CP1_CS_AS, 'A','*')
This is an *ccurate test
N
@@select * from dbo.Restaurants where Name = N'Café'