由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - error of importing data from txt file to IBM netezza SQL da (转载)
相关主题
error export sql table from IBM netezza database to a file (转载)Question
tools for importing data into oracleurgent: how to compare two dates in SQL?
一个SQL写法性能的请教One question on SQL Server
JDBC问题一问Question about T-SQL
谁能讲解一下sql server里面的 for xml?Help---access Server.
哪个软件可以支持2500个FIELDS?A very basic question.
SSIS import and export wizard 搞不定了Is Oracle ODBC support batch SQL(PL/SQL procedure)?
想report SQL Server 2008的一个不足之处--output more than 1 million rows into EXCELquestion on SQL Server
相关话题的讨论汇总
话题: sql话题: file话题: ibm话题: error话题: txt
进入Database版参与讨论
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
s**********o
发帖数: 14359
2
为什么这么多用IBM NASTY SQL的呢?
1 (共1页)
进入Database版参与讨论
相关主题
question on SQL Server谁能讲解一下sql server里面的 for xml?
Re: How to change Default SQL String Buffer Size(1K) for ODBC Driver哪个软件可以支持2500个FIELDS?
Re: How to create a new database under SQL 7.0 from remote host?SSIS import and export wizard 搞不定了
Use Access Link table to use SQL server tables.想report SQL Server 2008的一个不足之处--output more than 1 million rows into EXCEL
error export sql table from IBM netezza database to a file (转载)Question
tools for importing data into oracleurgent: how to compare two dates in SQL?
一个SQL写法性能的请教One question on SQL Server
JDBC问题一问Question about T-SQL
相关话题的讨论汇总
话题: sql话题: file话题: ibm话题: error话题: txt