由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - error of importing data from txt file to IBM netezza SQL da (转载)
相关主题
error export sql table from IBM netezza database to a file (转载)Error of SQL query on IBM netezza SQL database from Aginity (转载)
咋用python做一个3D surface plot? 请教pypyodbc error access netezza SQL server on win7 (转载)
借人气问一下:ACCESS转成SQL这个有更好的算法吗?
报表生成怎么把 integer 转为 multi-byte integer format?
用python urlopen 抓mitbbs页面的问题大家来看看这个纯Javascript实现的QR二维码生成器
Truncation error import csv file to SQL table (转载)求教, python 对于很奇怪的字符的encoding 怎么处理?
如何实现 strtok() ?用react的试过中文么?
check time table created in IBM SQL Aginity workbench ?encode high cardinality categorical features
相关话题的讨论汇总
话题: sql话题: file话题: ibm话题: error话题: txt
进入Programming版参与讨论
1 (共1页)
l******9
发帖数: 579
1
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: error of importing data from txt file to IBM netezza SQL database
发信站: BBS 未名空间站 (Fri Nov 21 14:55:51 2014, 美东)
I would like to load data from a txt file (9 KB) to SQL IBM netezza database
in Aginity workbench.
After creating the table:
I right-clicked the table and go to "import data" tab and chose "comma" as
field delimiter and skip the first row for the header in the file.
The SQL query is:
INSERT INTO username.my_table // the table has 12 columns and all are
characters
SELECT * FROM
EXTERNAL 'C:\mypath\my_file.txt'
USING
(
DELIMITER ','
LOGDIR 'C:\temp'
Y2BASE 2000
ENCODING 'internal'
SKIPROWS 1
REMOTESOURCE 'ODBC'
ESCAPECHAR ''
)
But, I got error:
Unable to export the data to a file. Error: operations canceled.
Why it is "export", I want to do import.
Any help would be appreciated.
thanks
1 (共1页)
进入Programming版参与讨论
相关主题
encode high cardinality categorical features用python urlopen 抓mitbbs页面的问题
How to read a simple csv file in C++?Truncation error import csv file to SQL table (转载)
operator comma如何实现 strtok() ?
问个matlab 数据读入的问题check time table created in IBM SQL Aginity workbench ?
error export sql table from IBM netezza database to a file (转载)Error of SQL query on IBM netezza SQL database from Aginity (转载)
咋用python做一个3D surface plot? 请教pypyodbc error access netezza SQL server on win7 (转载)
借人气问一下:ACCESS转成SQL这个有更好的算法吗?
报表生成怎么把 integer 转为 multi-byte integer format?
相关话题的讨论汇总
话题: sql话题: file话题: ibm话题: error话题: txt