如何使用SSIS跳过CS​​V文件中的最后一个空白行 [英] How to skip the last blank row in CSV file using SSIS

查看:57
本文介绍了如何使用SSIS跳过CS​​V文件中的最后一个空白行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我试图将数据从Table加载到flatfile时,我终于得到了空白行。

例如

1.我有一张表9行。

2.我使用过数据流任务(oledb source,flatfile destination)

3.我将9行从表移到flatfile

问题: -

当我打开那个文件时,我能看到完整的9行,但我得到的是第10个空格。所以我不想最后得到空行。

When i'm trying to load the data from Table to flatfile i'm getting blank row at last.
e.g.
1. i have one table with 9 rows.
2. i have used dataflow task(oledb source,flatfile destination)
3. I moved that 9 rows from table to flatfile
problems:-
When i open that file i was able to see that complete 9 rows, but i'm getting 10th with blank space.so i don't want to get the blank row at last.

推荐答案

我遇到了同样的问题。



试试这个:



如果你想要一步一步删除坏行或最后一行



http://geekswithblogs.net/Compudicted/archive/ 2011/02/15 / ssis-technique-to-removeskip-trailer-andor-bad-data-row-in.aspx [ ^ ]
I got the same problem.

Let try this:

That is step by step remove bad row or last row if you want

http://geekswithblogs.net/Compudicted/archive/2011/02/15/ssis-technique-to-removeskip-trailer-andor-bad-data-row-in.aspx[^]


这篇关于如何使用SSIS跳过CS​​V文件中的最后一个空白行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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