由于列字段中的引号导致数据传输错误
我正在尝试从一堆表(从 CSV、DB2 和 PostGreSQL)到 PostGreSQL 实例进行标准数据传输。我使用的工具是Dbeaver Light的Data Transfer Task。
然而,我面临着大量的错误,我已经追踪到这是由于数据的实际内容造成的。
我相信错误是由于数据中的 " 引起的,因为它们用于限定列,如下所示:
SELECT "Column1", "Column2" FROM "schema"."table"
任何人都可以想办法解决这个问题吗?
I am trying to do a standard data-transfer from a bunch of tables (from CSV, DB2 and PostGreSQL) into a PostGreSQL-instance. The tool I am using is Dbeaver Light's Data Transfer Task.
However, I am facing a ton of errors and I have tracked it down to being due to the actual content of the data.
What I see in the data are examples like this:
Resulting in the following error:
I believe the errors arise due to the " in the data since these are used to qualify colums like so:
SELECT "Column1", "Column2" FROM "schema"."table"
Can anyone think of a way to solve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论