简体   繁体   中英

How to export UTF-8 CSV from SQL server

I am trying to import data from csv file to PostgreSQL table using PostgreSQL 9.3 version.

Followed Procedure :

Step 1 : Exported data from SQL Server to CSV file.

Step 2 : In PostgreSQL right click on table the import.

Step 3 : Selected *.csv file, Format csv and encoding"UTF8" from file option.

Step 4 : From Misc. Option selected Delimiter ";".

Step 5 : From Quote Option selected as Quote ' and Escape "

Step 6 : At last clicked import button to process.

Note : But getting the following error message box.

在此处输入图片说明

At the import dialog choose one of the common Windows encodings like WIN1252

http://www.postgresql.org/docs/current/static/multibyte.html#MULTIBYTE-CHARSET-SUPPORTED

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM