How to insert arabic characters into sql database?

Posted by Pavan Reddy on Stack Overflow See other posts from Stack Overflow or by Pavan Reddy
Published on 2010-05-21T11:42:14Z Indexed on 2010/05/21 12:00 UTC
Read the original article Hit count: 272

Filed under:
|
|

How can I insert arabic characters into sql database? I tried to insert arabic data into a table and the arabic characters in the insert script were inserted as '??????' in the table.

I tried to directly paste the data into the table through sql management studio and the arabic characters was successfully and accurately inserted.

I looked around for resolutions for this problems and some threads suggested changing the datatype to nvarchar instead of varchar. I tried this as well but without any luck.

How can we insert arabic characters into sql database?

© Stack Overflow or respective owner

Related posts about sql

Related posts about arabic