Compare Page Revisions
« Older Revision - Back to Page History - Newer Revision »
WHERE
select serverproperty('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
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.