Khmer Unicode in SQL 2008,

    I have been taking a while for searching for feasibility to use Khmer Unicode in SQL Server. Recently I have found article posted by sochinda related to how to be able to use in SQL Server.


We need to have our database
  . Collation as SQL_Latin1_General_CP850_BIN
  . Defined fields as NChar, NVarchar, ...


When insert we need to use such syntax as :



insert into tblUser(Name) VALUES(N'សួស្តី')
insert into tblUser(Name) VALUES(N'វាសនា')
insert into tblUser(Name) VALUES(N'ស្រីអៀប')

And When we do some search we need to applied : 



select * from tblUser
where Name LIKE N'%សន%'

Comments

Popular posts from this blog

How to prevent a user from running Task Scheduler in Windows

Reading excel file in asp.net