SSIS 平面文件目标导出数据问题 [英] SSIS Flat File Destination Export data issue

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

问题描述

正在将数据从 SQL 过程导出到平面文件.我的问题是我有一列名为 Test with data 1e2, 1e1, 1e3 ..... .当我导出到平面文件时,该列的数据看起来像 1.00E+02,1.00E+01,1.00E+03...... . 我应该怎么做才能从 SQL proc 中将精确数据放入平面文件中.任何帮助表示赞赏.谢谢.

Am exporting data from a SQL procedure to flat file. My issue is i have a column called Test with data 1e2, 1e1, 1e3 ..... .When i export to flat file, data for this column looks like 1.00E+02,1.00E+01,1.00E+03...... . What should i do to get exact data into flat file from SQL proc. Any help is appreciated.Thanks.

推荐答案

这解决了我的问题,

使用测试列作为文本创建了一个 excel 模板.

Created a excel template with Test Column as text.

在 SSIS 中,创建了 OLEDB 源、数据转换和 Excel 目标任务.在数据转换中,我将测试列转换为 Unicode 字符串 DT_WSTR.我执行了包并将数据填充到我用 1e1,1e2...in Test 列创建的模板中.

In SSIS, Created OLEDB Source, Data Conversion and Excel Destination tasks. In Data Conversion i converted Test Column to Unicode String DT_WSTR. I executed the package and it populated data into the template i created with 1e1,1e2...in Test column.

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

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