您可以按SSIS中的管道划定行和列吗?
从SSIS,我需要以格式发送Excel文件;
656265 | 56280212 ||
654581 | 56246894 ||
656111 | 56281475 ||
我目前有一个软件包,该软件包生成一个要显示为;的excel文件;
656265 | 56280212
654581 | 56246894
656111 | 56281475
当我将列定界符设置为平面文件连接管理器上的垂直条(管道)时。
我将如何实现2个管道来划定行,因为SSI不允许您设置相同的行和列定界符?
From SSIS, I need to send an Excel file in the format of;
656265 | 56280212 ||
654581 | 56246894 ||
656111 | 56281475 ||
I currently have a package that generates an Excel file to be displayed as;
656265 | 56280212
654581 | 56246894
656111 | 56281475
as I have set the column delimiter as a Vertical bar (pipe) on the flat file connection manager.
How would I achieve attaching the 2 pipes to delimit the rows as SSIS does not allow you to set the same row and column delimiter?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该打开平面文件连接管理器,转到“高级”选项卡,然后按“新”按钮在文件末尾手动添加两个列:
参考:
You should open the flat file connection manager, go to the "Advanced" Tab and add two columns manually at the end of the file by pressing the "New" button:
Reference:
使用“脚本任务”的解决方案之一
并读取文件数据,然后将其编辑为以下示例:
输出
One of the solutions by Using "Script Task"
and read the file data then edit it as below example:
Output