I get an error when trying to use copy utility to extract data from csv file with UCS-2 LE BOM encoding (as reported by notepad++).
COPY pub.calls (............ )
FROM 'c:\IMPORT\calls.csv'
WITH
DELIMITER ','
HEADER
CSV
ENCODING 'UCS2';
The error is something like this
SQL Error [22023]Error The argument of encoding parameter should be acceptable encoding name.
UCS-2 gives the same error.
ENCODING 'UTF8';?.. I don't know if all UCS-2 codes match those in UTF, but I thought so for some reason... :)