有人用过datastage进行excel文件的抽取吗
时间:2010-07-02
来源:互联网
有人用过datastage进行excel文件的抽取吗
另外,excel文件需要ftp传送到本机,然后进行抽取
大家使用过这种方案吗?
之前做过对csv文件的处理,没有做过excel的
能直接处理吗?还是必须先把excel转成csv再进行处理?
另外,excel文件需要ftp传送到本机,然后进行抽取
大家使用过这种方案吗?
之前做过对csv文件的处理,没有做过excel的
能直接处理吗?还是必须先把excel转成csv再进行处理?
作者: jlliuyi 发布时间: 2010-07-02
csv
作者: dbkiller 发布时间: 2010-07-02
经过确认,DATASTAGE不能直接解析EXCEL文件,XML或者CSV格式的没有问题
我们的实现方式如下:
利用FTP STAGE将XML格式文件取到本地,然后利用XML STAGE来解析文件,把数据入到数据库
我们的实现方式如下:
利用FTP STAGE将XML格式文件取到本地,然后利用XML STAGE来解析文件,把数据入到数据库
作者: jlliuyi 发布时间: 2010-07-10
You can use excel file as input by importing the .xls file.
step1 --> Go to Administrative Tools -> Data Source (ODBC) --> System DSN. Click on Add button and configure the corresponding .xsl file in your system DSN. Make sure that workbook contains the name of your excel sheet.
Step2 --> Import the excel file into the datastage as ODBC table definition.
Step3 --> Use ODBC stage as input stage.
You should be able to use excel file very effectively. Please let me know if you face any problem.
step1 --> Go to Administrative Tools -> Data Source (ODBC) --> System DSN. Click on Add button and configure the corresponding .xsl file in your system DSN. Make sure that workbook contains the name of your excel sheet.
Step2 --> Import the excel file into the datastage as ODBC table definition.
Step3 --> Use ODBC stage as input stage.
You should be able to use excel file very effectively. Please let me know if you face any problem.
作者: jinshen1979 发布时间: 2011-02-27
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28