SSIS:问题来自csv文件的数据: [英] SSIS:Issue with data from a csv file:

查看:304
本文介绍了SSIS:问题来自csv文件的数据:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题与CSV文件中的数据有关:当值太长时,我以CSV格式下载了一些文件,其值如下:1.21E+11.

Issue with data from a CSV file: I downloaded some file in CSV with some values like this one: 1.21E+11, when the values are too long.

如果我转换为XLS/XLSX并将字段更改为数字,则可以解决此问题,但是我想做一些自动化的事情.

If I convert to XLS/XLSX and change the field to numeric, that fixes the issue, but I want to do something automatized.

推荐答案

尝试添加类型为DT_R8的派生列,并使用以下表达式:

Try adding a derived column of type DT_R8 and use the following expression:

(DT_R8)[InputColumn]

如下图所示,我测试了以下表达式:

As shown in the image below, i tested the following expression:

(DT_R8)"1.21E+11"

结果是:

121000000000

121000000000

这篇关于SSIS:问题来自csv文件的数据:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆