简体   繁体   English

将 CSV 文件从 URL 导入 SQL Fiddle Postgres 9.6 引擎

[英]Import CSV file from URL into SQL Fiddle Postgres 9.6 engine

I am trying a whole day long to find a solution for importing csv file from url into SQL Fiddle, using the PostgreSQL 9.6. I am trying a whole day long to find a solution for importing csv file from url into SQL Fiddle, using the PostgreSQL 9.6. Nothing on the Internet helped.互联网上没有任何帮助。 When I use the "Copy" command I get the following message:当我使用“复制”命令时,我收到以下消息:

在此处输入图像描述

When I try \copy I get error saying that "\" is error.当我尝试 \copy 我得到错误说“\”是错误的。 With stdin/out I got something like saying that the engine doesn't support it.使用标准输入/输出时,我会说引擎不支持它。 What is the real command or script for that.什么是真正的命令或脚本。 I am starting to lose patience.我开始失去耐心了。 Please help!请帮忙!

You need to convert the file into a SQL script using INSERT statements您需要使用 INSERT 语句将文件转换为 SQL 脚本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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