Click here to Skip to main content
15,892,965 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello ,

I have a Database instance with collation as 'SQL_Latin1_General_CP1_CI_AS' in SQL server 2008.One table conatins data in greek character set for e.g.
Πριγκηποννήσου
Κομνηνών
Komninon
Διαγόρα
Diagora
Καλλιόπης
Kalliopis
Πάροδος Νίκαιας
Parodos Nikaias

Which also give me a problem while searching in sql server. for e.g. select * from tablename where txt like '%μν%'

Also in other sql operation it gives issue.
Same issue with Russian language.

Do SQL Server 2008 required specific settings for Greek, Russian languages??

Please suggest some thoughts on the same.

Thanks,
Sachin
Posted

1 solution

your column type should be nvarchar

and then

search will work this way...
SQL
select * from tablename where txt like   N'%μν%'

Happy Coding!
:)
 
Share this answer
 
Comments
cancerion 28-Dec-12 4:18am    
Thanks Aarti
Aarti Meswania 28-Dec-12 4:19am    
Welcome :)
Glad to help you! :)
cancerion 28-Dec-12 6:51am    
Hi,
Now As my data is stored in NVarchar type column and i can search using N'%μν%'.
Is there any way to convert greek/russian character set to UTF-8 or Simple English character set?

Thanks,
Sachin
Aarti Meswania 28-Dec-12 6:56am    
no sql will not provide such way
have you tried google translator?
it will allow to convert xls files also
so, you can get data in xls & then translate full data
then import that data in sql

Note font of language must be same to google-translator's language font else it will do false conversation

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900