VBScript [modified]
-
Hello! I am writing a code in VBScript. My language is Farsi.Whenever I write something in the fields of my DB(SQL Server 2000) directly, it is written in Farsi, but when I want to insert through my code, it is written as ???? and so I retrieve it as ????.Do you have any suggestions to solve this problem? I'd appreciate it. Thanks in advance. -- modified at 3:39 Tuesday 1st August, 2006
-
Hello! I am writing a code in VBScript. My language is Farsi.Whenever I write something in the fields of my DB(SQL Server 2000) directly, it is written in Farsi, but when I want to insert through my code, it is written as ???? and so I retrieve it as ????.Do you have any suggestions to solve this problem? I'd appreciate it. Thanks in advance. -- modified at 3:39 Tuesday 1st August, 2006
hi you moust use Ntext or nvarchar fied type for it and for inserting ,use n'farsi message...' in you sql code . insert into tbl (name)values(N'مهدي')