Sort order defines all E-like characters as equal

Please support our MS SQL advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2006
Posts: 2
Reputation: swolly is an unknown quantity at this point 
Solved Threads: 0
swolly swolly is offline Offline
Newbie Poster

Sort order defines all E-like characters as equal

 
0
  #1
Apr 4th, 2006
Hey,

I want a search of name ='Jose' to find both Jose and José, but with

SELECT * FROM Users WHERE name LIKE '%Jose%'

i only get Jose, in "Inside SQL SQL" an article shows this:

If you want a search of name ='Jose' to find both Jose and José, you should choose accent insensitivity. Such a sort order defines all E-like characters as equal:

E=e=è=É=é=ê=ë

but how shut i do this ???

MSSQL 2000 SP 4
Server Collation: Latin1_General_CI_AS

Windows 2003 Server Standard

Thanks for Help !!!
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 2
Reputation: swolly is an unknown quantity at this point 
Solved Threads: 0
swolly swolly is offline Offline
Newbie Poster

Re: Sort order defines all E-like characters as equal

 
0
  #2
Apr 5th, 2006
Originally Posted by swolly
Hey,

I want a search of name ='Jose' to find both Jose and José, but with

SELECT * FROM Users WHERE name LIKE '%Jose%'

i only get Jose, in "Inside SQL SQL" an article shows this:

If you want a search of name ='Jose' to find both Jose and José, you should choose accent insensitivity. Such a sort order defines all E-like characters as equal:

E=e=è=É=é=ê=ë

but how shut i do this ???

MSSQL 2000 SP 4
Server Collation: Latin1_General_CI_AS

Windows 2003 Server Standard

Thanks for Help !!!
Change collation

i only must chane the collation to Latin1_General_CI_AI (CaseInsensitive AccentInsensitive), but i only find now o=ö=ò... but if i search in german like möller i found moller, móller... but in englisch möller will be written like moeller, is ther any way to change or edit collation to find

ö=oe...

Thanks a lot :o
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC