Inserting hebrew values in SQL Server 2008

六月ゝ 毕业季﹏ 提交于 2019-12-18 09:48:10

问题


I've been trying to update a record with hebrew texy into a DB table, and it shown as "??????". Here's my command:

UPDATE HebrewTbl
   SET HebrewVal = N'ראשונה'
 WHERE Id = 1
GO

All solutions I found over the Internet ended up in adding that N in the beginning, but in my case the problem continues.

Please advise. Thanks in advance


回答1:


Copied from comment so question can be set to answered per suggestion of this post.

Set your column to nvarchar and have the correct collation enabled to allow Hebrew characters.



来源:https://stackoverflow.com/questions/30326013/inserting-hebrew-values-in-sql-server-2008

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!