【发布时间】:2021-10-20 14:11:37
【问题描述】:
如何在 PostgreSQL 中将文本文件复制为单列(基本上是复制没有列分隔符的文本文件)?
drop table if exists txt_file;
create temp table txt_file
(
string text
);
copy txt_file (string) from '(...)/functions.txt' csv;
【问题讨论】:
标签: postgresql csv copy txt