getting unknown characters from azure SQL server databases when storing Arabic language Text

天大地大妈咪最大 提交于 2019-12-12 10:20:14

问题


I have tried to get Arabic text from Azure SQL Server databases

I defined many Collations for my database when creating it and they still not work. Inserting text to the database I always add 'N' character before Arabic data .

Working with local SQL server its Ok no problems Any Idea ?


回答1:


Using NVARCHAR for the column type you should have no issues. I successfully got an Arabic text into SQL Azure table (used google translate to translate "Hello World" into Arabic, so do not laugh or abuse if the words are actually other):



来源:https://stackoverflow.com/questions/13421426/getting-unknown-characters-from-azure-sql-server-databases-when-storing-arabic-l

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