带有新行字符的原始文件 [英] Raw file with new line character

查看:107
本文介绍了带有新行字符的原始文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个存储过程,返回一行包含行数。所有这些行都应该写在Raw文件中(而不是文本文件)。当我在SSIS包中使用原始文件目的地将数据存储在文件中时,它不会在新行上写入每一行。它附加一些垃圾字符(这可能是新行字符字符ASCII值)。



如何在Raw文件中的新行中写下每个表格行。



希望得到别人的帮助。



谢谢

-Amit

解决方案

Amit,


根据您在平面文件连接中指定的分隔符创建行。

在Flat File连接管理器中将行分隔符属性设置为{CR } {LF}

Hi,

I have one Stored procedure that returns one column with number of rows. All this rows should be written in the Raw file(not text file). When i use Raw File Destination in SSIS package for storing data in file, it is not writing each line on new line. it append some junk character(this may be new line character character ASCII value).

How can i write each table row in new line inside Raw file.

Hope for someone's help.

Thanks
-Amit

解决方案

Amit,

Rows are created based on the delimiter u specify in the flat file connection.
In your Flat File connection manager set the row delimiter property to {CR}{LF}


这篇关于带有新行字符的原始文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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