Why can I not import arabic csv file into SQL Server? -


i have arabic .csv file on pc, , want import file sql server, when import it, error:

text truncated or 1 or more characters had no match in target code page

what happened?

for storing data other english language arabic, hindi etc, need nvarchar(max) or nchar(max), instead of varchar(max).

below example shows difference between varchar , nvarchar

create table tab (remark varchar(max)  ); insert tab values('this test');  create table tab_arabic (remark nvarchar(max)  ); insert tab_arabic values(n'هذا هو الاختبار'); 

Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -