回复 5楼 jiaming
/* ↓↓↓↓↓↓ sql语句 开始 ↓↓↓↓↓↓ */
set client_encoding to gbk;
drop table if exists ${SDB}.${sdbddl_name}${TX_MON_DAY_MMDD} ;
create table ${SDB}.${sdbddl_name}${TX_MON_DAY_MMDD} as select * from ${SDBDDL}.${sdbddl_name} where 1=2;
copy ${SDB}.${sdbddl_name}${TX_MON_DAY_MMDD} from '${FILE_PATH}${source_data_tableName}-${TX_MM_DD}.txt' delimiter as ' ' CSV HEADER;
/* ↑↑↑↑↑↑ sql语句 结束 ↑↑↑↑↑↑ */
\\q
这个错误是 wide character in print ,不影响程序运行。你可以百度下这个错误