Inserting hebrew values in SQL Server 2008

2020-02-15 06:04发布

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条回答
可以哭但决不认输i
2楼-- · 2020-02-15 06:51

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.

查看更多
登录 后发表回答