How to Show Eastern Letter(Chinese Character) on SQL Server/SQL Reporting Services?

后端 未结 5 837
自闭症患者
自闭症患者 2021-02-07 23:12

I need to insert chinese characters in my database but it always show ???? ..

Example:

Insert this record.

微波室外单元-Apple

Then it became ???

5条回答
  •  迷失自我
    2021-02-07 23:53

    Make sure you specify a unicode string with a capital N when you insert like:

    INSERT INTO Table1 (Col1) SELECT N'微波室外单元-Apple' AS [Col1]
    

    and that Table1 (Col1) is an NVARCHAR data type.

提交回复
热议问题