-1

How to save Spanish and Arabic characters in SQL Server 2008 R2 from a C# Windows application?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
V Aneesh
  • 1
  • 1

2 Answers2

0

In sql server, use the nvarchar() data type instead of varchar() to support unicode.

In your application, specify the parameter as SqlDbType.NVarChar as shown here: How to create NVarchar(max) Sqlparameter in C#?

Community
  • 1
  • 1
SqlZim
  • 37,248
  • 6
  • 41
  • 59
0

In SQL Server, use nvarchar()data type instead of varchar()to support Unicode.

Akhatran
  • 21
  • 4